hg: jdk7u/jdk7u-dev/langtools: 3 new changesets
maurizio.cimadamore at oracle.com
maurizio.cimadamore at oracle.com
Thu Aug 25 05:40:52 PDT 2011
Changeset: e296280b4e77
Author: mcimadamore
Date: 2011-07-27 19:00 +0100
URL: http://hg.openjdk.java.net/jdk7u/jdk7u-dev/langtools/rev/e296280b4e77
7062745: Regression: difference in overload resolution when two methods are maximally specific
Summary: Fix most specific when two methods are maximally specific and only one has non-raw return type
Reviewed-by: jjg, dlsmith
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/generics/rawOverride/7062745/GenericOverrideTest.java
+ test/tools/javac/generics/rawOverride/7062745/T7062745neg.java
+ test/tools/javac/generics/rawOverride/7062745/T7062745neg.out
+ test/tools/javac/generics/rawOverride/7062745/T7062745pos.java
Changeset: 2de6d1e52742
Author: mcimadamore
Date: 2011-07-27 19:01 +0100
URL: http://hg.openjdk.java.net/jdk7u/jdk7u-dev/langtools/rev/2de6d1e52742
7046778: Project Coin: problem with diamond and member inner classes
Summary: Diamond inference generates spurious error messages when target type is a member inner class
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/generics/diamond/7046778/DiamondAndInnerClassTest.java
! test/tools/javac/generics/diamond/neg/Neg09.out
Changeset: 8c9f07f9aa28
Author: mcimadamore
Date: 2011-07-27 19:01 +0100
URL: http://hg.openjdk.java.net/jdk7u/jdk7u-dev/langtools/rev/8c9f07f9aa28
7057297: Project Coin: diamond erroneously accepts in array initializer expressions
Summary: Diamond in array initializer expressions should be rejected
Reviewed-by: jjg, dlsmith
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/diags/examples/CannotCreateArrayWithDiamond.java
+ test/tools/javac/generics/diamond/7057297/T7057297.java
+ test/tools/javac/generics/diamond/7057297/T7057297.out
More information about the jdk7u-dev
mailing list