langtools/test/tools/javac/generics/diamond/T6939780.out
author mcimadamore
Mon, 07 Mar 2011 14:31:50 +0000
changeset 8635 383a416a2bdf
parent 7081 94cfc5b65bed
child 15374 fb8f6acf09cc
permissions -rw-r--r--
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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7081
94cfc5b65bed 6939780: add a warning to detect diamond sites
mcimadamore
parents:
diff changeset
     1
T6939780.java:19:28: compiler.warn.diamond.redundant.args: Foo<java.lang.Number>, Foo<java.lang.Number>
94cfc5b65bed 6939780: add a warning to detect diamond sites
mcimadamore
parents:
diff changeset
     2
T6939780.java:20:28: compiler.warn.diamond.redundant.args.1: Foo<java.lang.Integer>, Foo<java.lang.Number>
8635
383a416a2bdf 7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes
mcimadamore
parents: 7081
diff changeset
     3
2 warnings