hg: jdk7/tl/langtools: 2 new changesets

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Fri Dec 10 15:25:37 UTC 2010


Changeset: 2ca5866a8dfb
Author:    mcimadamore
Date:      2010-12-10 15:23 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/2ca5866a8dfb

7005671: Regression: compiler accepts invalid cast from X[] to primitive array
Summary: regression in type conversion after 292 changes
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/cast/7005671/T7005671.java
+ test/tools/javac/cast/7005671/T7005671.out

Changeset: b1c98bfd4709
Author:    mcimadamore
Date:      2010-12-10 15:24 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/b1c98bfd4709

6199075: Unambiguous varargs method calls flagged as ambiguous
Summary: javac does not implement overload resolution w.r.t. varargs methods as described in the JLS
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/varargs/6199075/T6199075.java




More information about the security-dev mailing list