diff -r 74f0c05c51eb -r ca32f2986301 test/tools/javac/generics/diamond/neg/Neg07.java --- a/test/tools/javac/generics/diamond/neg/Neg07.java Mon Mar 07 14:11:48 2011 +0000 +++ b/test/tools/javac/generics/diamond/neg/Neg07.java Mon Mar 07 14:31:50 2011 +0000 @@ -1,8 +1,8 @@ /* * @test /nodynamiccopyright/ - * @bug 6939620 + * @bug 6939620 7020044 * - * @summary Switch to 'complex' diamond inference scheme + * @summary Check that diamond works where LHS is supertype of RHS (1-ary constructor) * @author mcimadamore * @compile/fail/ref=Neg07.out Neg07.java -XDrawDiagnostics * @@ -15,5 +15,4 @@ } SuperFoo sf1 = new Foo<>(""); - SuperFoo sf2 = new Foo<>("") {}; }