1.1 --- a/test/tools/javac/generics/diamond/6996914/T6996914b.java Mon Mar 07 14:11:48 2011 +0000 1.2 +++ b/test/tools/javac/generics/diamond/6996914/T6996914b.java Mon Mar 07 14:31:50 2011 +0000 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -23,7 +23,7 @@ 1.11 1.12 /* 1.13 * @test 1.14 - * @bug 6996914 1.15 + * @bug 6996914 7020044 1.16 * @summary Diamond inference: problem when accessing protected constructor 1.17 * @compile T6996914b.java 1.18 */ 1.19 @@ -35,5 +35,4 @@ 1.20 1.21 class Test { 1.22 Super<String,Integer> ssi1 = new Super<>(1, "", 2); 1.23 - Super<String,Integer> ssi2 = new Super<>(1, "", 2) {}; 1.24 }