hg: jdk8/tl/langtools: 3 new changesets

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Wed May 15 13:04:19 UTC 2013


Changeset: 05ec778794d0
Author:    mcimadamore
Date:      2013-05-15 14:00 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/05ec778794d0

8012003: Method diagnostics resolution need to be simplified in some cases
Summary: Unfold method resolution diagnostics when they mention errors in poly expressions
Reviewed-by: jjg, vromero

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/main/Option.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/resources/javac.properties
! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
! src/share/classes/com/sun/tools/javac/util/List.java
! src/share/classes/com/sun/tools/javac/util/Log.java
+ test/tools/javac/Diagnostics/compressed/T8012003a.java
+ test/tools/javac/Diagnostics/compressed/T8012003a.out
+ test/tools/javac/Diagnostics/compressed/T8012003b.java
+ test/tools/javac/Diagnostics/compressed/T8012003b.out
+ test/tools/javac/Diagnostics/compressed/T8012003c.java
+ test/tools/javac/Diagnostics/compressed/T8012003c.out
! test/tools/javac/diags/examples/BadArgTypesInLambda.java
+ test/tools/javac/diags/examples/CompressedDiags.java
! test/tools/javac/diags/examples/KindnameConstructor.java
+ test/tools/javac/diags/examples/ProbFoundReqFragment.java
! test/tools/javac/lambda/TargetType66.out

Changeset: 33d1937af1a3
Author:    mcimadamore
Date:      2013-05-15 14:02 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/33d1937af1a3

8012685: Spurious raw types warning when using unbound method references
Summary: Spurious raw type warning when unbound method reference qualifier parameter types are inferred from target
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/lambda/MethodReference67.java
+ test/tools/javac/lambda/MethodReference67.out

Changeset: 78717f2d00e8
Author:    mcimadamore
Date:      2013-05-15 14:03 +0100
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/78717f2d00e8

8013222: Javac issues spurious raw type warnings when lambda has implicit parameter types
Summary: Bad warnings and position for lambda inferred parameter types
Reviewed-by: jjg, vromero

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




More information about the security-dev mailing list