David Holmes wrote:
> > Grzegorz B. Prokopski writes:
> > [EMAIL PROTECTED]:/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


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to