> Grzegorz B. Prokopski writes:
> I was curious what your code does...  Here's the output.
>
> [EMAIL PROTECTED]:/tmp$ jikes-sablevm Crash.java
> [EMAIL PROTECTED]:/tmp$ sablevm -Y Crash
> java.lang.NullPointerException: Deprecated usage no longer supported.

Ouch! That's a rather agressive stance to deprecated methods. I think there
are a number of Swing apps that won't run there if all deprecated methods
have actually been removed!

> [EMAIL PROTECTED]:/tmp$ kaffe Crash
> java.lang.SecurityException: Prohibited package: java/lang/Object

That's basically what it should do.

> Looks like nothing bad should happen.  Does it actually crash some JVMs?

Absolutely: Sun's JDK < 1.4.2 and Sun's JDK 5.0

David Holmes



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

Reply via email to