hg: jdk8/tl/langtools: 6 new changesets

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Thu Jun 6 07:39:23 PDT 2013


Changeset: 6e30a513c945
Author:    mcimadamore
Date:      2013-06-06 15:30 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/6e30a513c945

6360970: javac erroneously accept ambiguous field reference
Summary: clash between ambiguous fields in superinterface and unambiguous field in subinterface is erroneously marked as unambiguous
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/6360970/T6360970.java
+ test/tools/javac/6360970/T6360970.out

Changeset: 7889d1fe2597
Author:    mcimadamore
Date:      2013-06-06 15:32 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/7889d1fe2597

7139681: Enhanced for loop: local variable scope inconsistent with JLS
Summary: For-each loop variable is incorrectly visible from the for-each expression
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/foreach/7139681/T7139681neg.java
+ test/tools/javac/foreach/7139681/T7139681neg.out
+ test/tools/javac/foreach/7139681/T7139681pos.java

Changeset: 349160289ba2
Author:    mcimadamore
Date:      2013-06-06 15:33 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/349160289ba2

8008627: Compiler mishandles three-way return-type-substitutability
Summary: Compiler should not enforce an order in how ambiguous methods should be resolved
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/rawOverride/T8008627.java
! test/tools/javac/lambda/funcInterfaces/NonSAM2.java
! test/tools/javac/lambda/funcInterfaces/NonSAM2.out

Changeset: f8472e561a97
Author:    mcimadamore
Date:      2013-06-06 15:35 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/f8472e561a97

8015432: javac crashes with stack overflow when method called recursively from nested generic call
Summary: Check.checkMethod should only be called after inference has completed
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! test/tools/javac/6758789/T6758789b.out
! test/tools/javac/generics/7015430/T7015430.out
! test/tools/javac/generics/7151802/T7151802.out
! test/tools/javac/generics/inference/6718364/T6718364.out
! test/tools/javac/generics/inference/7177306/T7177306a.out
+ test/tools/javac/lambda/TargetType74.java

Changeset: f218bb5ebd53
Author:    mcimadamore
Date:      2013-06-06 15:37 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/f218bb5ebd53

8015648: Duplicate variable in lambda causes javac crash
Summary: Missing flag in synthetic lambda blog is causing duplicates symbol to go undetected
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/lambda/LambdaScope05.java
+ test/tools/javac/lambda/LambdaScope05.out

Changeset: 5b039297151e
Author:    mcimadamore
Date:      2013-06-06 15:38 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/5b039297151e

Merge




More information about the security-dev mailing list