2007-12-01 00:00:00 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 6437894
|
|
|
|
* @summary Javac throws a NullPointerException
|
|
|
|
* @author jan.lahoda@...
|
|
|
|
* @author Peter von der Ah\u00e9
|
|
|
|
* @compile A.java B.java
|
|
|
|
* @clean a.A
|
2010-07-26 14:18:45 -07:00
|
|
|
* @compile/fail/ref=T6437894.out -XDrawDiagnostics T6437894.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
public class T6437894 {
|
|
|
|
public static void main(String... args) {
|
|
|
|
b.B m;
|
|
|
|
a.A.X x = null;
|
|
|
|
Long.parseLong(x.toString());
|
|
|
|
}
|
|
|
|
}
|