------- Additional Comments From dan at bolser dot co dot uk 2004-12-18 19:07 ------- The following code...
public class testish { public static void main (String args[]){ Number pang = null; double pong = pang.doubleValue(); if (pong != 0){ System.out.println("well..."); } } } Causes a runtime null pointer exception... Exception in thread "main" java.lang.NullPointerException at testish.main(java.lang.String[]) (Unknown Source) I guess it should be a compile time error, although I don't know. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19070