test/tools/javac/NewGeneric.java

Print this page

        

*** 25,35 **** * @test * @bug 4959929 * @summary unclear diagnostic for "new T()" * @author never * ! * @compile/fail -source 1.5 NewGeneric.java */ public class NewGeneric { private static class Type<T> { --- 25,35 ---- * @test * @bug 4959929 * @summary unclear diagnostic for "new T()" * @author never * ! * @compile/fail NewGeneric.java */ public class NewGeneric { private static class Type<T> {