classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving system properties to gnu.classpath.*


From: Archie Cobbs
Subject: Re: Moving system properties to gnu.classpath.*
Date: Thu, 7 Oct 2004 08:35:38 -0500 (CDT)

Jeroen Frijters wrote:
> I'm not sure yet. I think it would require VM support to make the
> gnu.classpath package special (e.g. in that it can only be accessed by
> code loaded by the bootstrap class loader).

If some kind of hack like this is required, I'd rather it not be
the VM's job to implement it. Instead, do it in classpath native code.
I don't think it's "right" to force all VMs to have such a hack when
it's not necessary.

For example, leave gnu.classpath non-public or whatever, then add
a package-access native method in java.lang.VMFoo that uses native
code to violate the normal access restrictions, allowing access to
gnu.classpath "remotely".

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]