hg: jdk7/tl/langtools: 7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Sat Apr 30 10:59:51 UTC 2011


Changeset: 4caf17560ae0
Author:    mcimadamore
Date:      2011-04-30 11:57 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/4caf17560ae0

7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
Summary: diamond should be disallowed in cases where explicit generic constructor parameters are specified
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/diags/examples/DiamondAndExplicitParams.java
! test/tools/javac/generics/diamond/7030150/GenericConstructorAndDiamondTest.java
- test/tools/javac/generics/diamond/7030150/Neg01.java
- test/tools/javac/generics/diamond/7030150/Neg01.out
- test/tools/javac/generics/diamond/7030150/Neg02.java
- test/tools/javac/generics/diamond/7030150/Neg02.out
- test/tools/javac/generics/diamond/7030150/Neg03.java
- test/tools/javac/generics/diamond/7030150/Neg03.out
- test/tools/javac/generics/diamond/7030150/Pos01.java
- test/tools/javac/generics/diamond/7030150/Pos02.java




More information about the security-dev mailing list