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: Jeroen Frijters
Subject: RE: Moving system properties to gnu.classpath.*
Date: Wed, 13 Oct 2004 09:02:02 +0200

David Holmes wrote:
> > Grzegorz B. Prokopski writes:
> > address@hidden:/tmp$ kaffe Crash
> > java.lang.SecurityException: Prohibited package: java/lang/Object
> 
> That's basically what it should do.

I don't see why java(.lang) should be a special package. On IKVM trying
to redefine java.lang.Object will throw a ClassFormatError (all classes
are required to extend java.lang.Object), but other than that you can
load whatever classes you want (including java.lang.String, which will
then be a separate type from the real string. (This isn't very useful
because you'll usually get a LinkageError when you try to use it.))

Regards,
Jeroen




reply via email to

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