hg: type-annotations/type-annotations/langtools: 8 new changesets

wdietl at gmail.com wdietl at gmail.com
Thu Jun 6 14:12:57 PDT 2013


Changeset: 8717586f7b05
Author:    emc
Date:      2013-06-06 08:48 -0400
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/8717586f7b05

8015701: MethodParameters are not filled in for synthetic captured local variables
Summary: Synthetic parameters for captured local variables in an anonymous inner class are not added to MethodParameters attributes
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/8015701/AnonymousParameters.java

Changeset: 6e30a513c945
Author:    mcimadamore
Date:      2013-06-06 15:30 +0100
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/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/type-annotations/type-annotations/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/type-annotations/type-annotations/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/type-annotations/type-annotations/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/type-annotations/type-annotations/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/type-annotations/type-annotations/langtools/rev/5b039297151e

Merge


Changeset: 174fe91374f8
Author:    wmdietl
Date:      2013-06-06 14:12 -0700
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/174fe91374f8

Automated merge with http://hg.openjdk.java.net/jdk8/tl/langtools

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java



More information about the type-annotations-dev mailing list