view 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 source
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)
1 error