Well using JDK1.1.6v3 on Linux it doesn't crash, just an error:
sun.tools.java.CompilerError: stackSize null
gjc 0.6g compile the code with no error.
pizza 0.39g give the following error:
DieNow.java:5: class 'null not found in class DieNow.$anonymous_class0
Panel death = new Panel (null){
^
1 error
At 6:26 PM -0700 8/21/98, Dustin Lang wrote:
>Hi,
>
>I've found the miracle handful of lines of code that crash two out of
>three compilers I could find *grin*
>import java.awt.*;
>
>public class DieNow {
> public DieNow () {
> Panel death = new Panel (null){
> public Insets getInsets () {
> return new Insets (6,6,6,6);
> }
> };
> }
>}