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: David Holmes
Subject: RE: Moving system properties to gnu.classpath.*
Date: Tue, 12 Oct 2004 11:53:43 +1000

> I was actually thinking the class would check its own class loader.
> So untrusted class loaders could load/define the class, but it wouldn't
> work if they did. This check would be "simple" and perhaps more suitable
> for initialization code.

I don't follow. The protected class will always get loaded during system
initialization by the bootstrap loader. The issue is then to stop
application classes from accessing an already loaded class. Hence it is the
calling class, attempting to use the already loaded protected class, whose
classloader must be checked.

David Holmes





reply via email to

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