hg: jdk7/tl/langtools: 2 new changesets

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Wed May 11 11:16:45 UTC 2011


Changeset: a2d422d480cb
Author:    mcimadamore
Date:      2011-05-11 13:10 +0200
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/a2d422d480cb

7042566: Regression: new ambiguity between varargs method
Summary: Erroneous ambiguity error when choosing most specific varargs method
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/varargs/7042566/T7042566.java

Changeset: 95fc7fd39be2
Author:    mcimadamore
Date:      2011-05-11 13:12 +0200
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/95fc7fd39be2

7041730: Regression: compiler accepts invalid cast from int to Byte
Summary: Implementation of cast conversion rules between primitive and boxed types is too liberal
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! test/tools/javac/types/BoxingConversionTest.java
! test/tools/javac/types/CastTest.java




More information about the security-dev mailing list