1/* 2 * @test /nodynamiccopyright/ 3 * @bug 6437894 4 * @summary Javac throws a NullPointerException 5 * @author jan.lahoda@... 6 * @author Peter von der Ah\u00e9 7 * @compile A.java B.java 8 * @clean a.A 9 * @compile/fail/ref=T6437894.out -XDrawDiagnostics T6437894.java 10 */ 11 12public class T6437894 { 13 public static void main(String... args) { 14 b.B m; 15 a.A.X x = null; 16 Long.parseLong(x.toString()); 17 } 18} 19