view j2se/test/tools/javac/generics/wildcards/6437894/T6437894.java @ 7:807dfe9c366c trunk

[svn] Load openjdk/jdk7/b19 into jdk/trunk.
author xiomara
date Fri, 31 Aug 2007 00:44:13 +0000
parents a4ed3fb96592
children
line wrap: on
line source

/*
 * @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
 * @compile/fail/ref=T6437894.out -XDstdout -XDrawDiagnostics T6437894.java
 */

public class T6437894 {
    public static void main(String... args) {
        b.B m;
        a.A.X x = null;
        Long.parseLong(x.toString());
    }
}