[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving system properties to gnu.classpath.*
From: |
Michael Koch |
Subject: |
Re: Moving system properties to gnu.classpath.* |
Date: |
Thu, 7 Oct 2004 16:05:46 +0200 |
User-agent: |
KMail/1.6.2 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 7. Oktober 2004 15:35 schrieb Archie Cobbs:
> 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".
Personally I'm against both types of such hacks. The current solution
probably duplicates some code but it easy to understand, needs no
hacks and extra support from the VMs.
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBZU06WSOgCCdjSDsRAoxnAJ0Z67ss7xQ+gS5PaujeoGlJAwk7PgCeNuU/
gPdDaHTTwdE9vi2zKyGVgDg=
=e9Da
-----END PGP SIGNATURE-----
- Moving system properties to gnu.classpath.*, Jeroen Frijters, 2004/10/07
- RE: Moving system properties to gnu.classpath.*, Jeroen Frijters, 2004/10/07
- RE: Moving system properties to gnu.classpath.*, Jeroen Frijters, 2004/10/07
- RE: Moving system properties to gnu.classpath.*, Jeroen Frijters, 2004/10/07
- RE: Moving system properties to gnu.classpath.*, Jeroen Frijters, 2004/10/07
- RE: Moving system properties to gnu.classpath.*, Jeroen Frijters, 2004/10/07
- RE: Moving system properties to gnu.classpath.*, Jeroen Frijters, 2004/10/08