Old News
Last week as was thinking about local variable handling, I found a bug in Sun's 1.4 JVM. Visit this url to crash your browser (if you use the Sun JVM, it doesn't work on the MS VM).
The pseudo source for the applet is:
public class test extends Applet { synchronized void foo() { this = null; }
public void init() { for(;;) foo(); } } The CLR (and Rotor too) throws an ArgumentNullException for similar code, which isn't ideal either, but at least it isn't crashing.
5:21:30 PM Comments
|