Pure Danger Tech


navigation
home

throw null

23 Jun 2008

This compiles (and throws NPE): [source:java]

public class Weird {

public static void main(String[] args) {

throw null;

}

}

[/source]

Anyone know why?