hg: jdk8/tl/langtools: 3 new changesets

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Wed Jul 27 11:05:32 PDT 2011


Changeset: 0b5beb9562c6
Author:    mcimadamore
Date:      2011-07-27 19:00 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/0b5beb9562c6

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: d5f33267a06d
Author:    mcimadamore
Date:      2011-07-27 19:01 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/d5f33267a06d

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: e427c42e1a7e
Author:    mcimadamore
Date:      2011-07-27 19:01 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/e427c42e1a7e

7057297: Project Coin: diamond erroneously accepts in array initializer expressions
Summary: Diamond in array initializer expressions should be rejected
Reviewed-by: jjg

! 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 security-dev mailing list