diff test/tools/javac/generics/diamond/neg/Neg07.out @ 986:ca32f2986301

7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes Summary: Disallow diamond on anonymous innner class creation expression (as per JSR 334's EDR) Reviewed-by: jjg
author mcimadamore
date Mon, 07 Mar 2011 14:31:50 +0000
parents 9d9d08922405
children
line wrap: on
line diff
--- a/test/tools/javac/generics/diamond/neg/Neg07.out	Mon Mar 07 14:11:48 2011 +0000
+++ b/test/tools/javac/generics/diamond/neg/Neg07.out	Mon Mar 07 14:31:50 2011 +0000
@@ -1,3 +1,2 @@
 Neg07.java:17:27: compiler.err.cant.apply.diamond.1: (compiler.misc.diamond: Neg07.Foo), (compiler.misc.inferred.do.not.conform.to.bounds: java.lang.String, java.lang.Number)
-Neg07.java:18:27: compiler.err.cant.apply.diamond.1: (compiler.misc.diamond: Neg07.Foo), (compiler.misc.inferred.do.not.conform.to.bounds: java.lang.String, java.lang.Number)
-2 errors
+1 error