hg: jdk9/sandbox/langtools: 2 new changesets

chris.hegarty at oracle.com chris.hegarty at oracle.com
Mon May 16 12:16:03 UTC 2016


Changeset: 5c3dfebefa4a
Author:    mcimadamore
Date:      2016-05-16 13:05 +0100
URL:       http://hg.openjdk.java.net/jdk9/sandbox/langtools/rev/5c3dfebefa4a

8153884: Expression lambda erroneously compatible with void-returning descriptor
Summary: Fix lambda compatibility check for void returning expressions
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/Diagnostics/compressed/T8012003b.out
+ test/tools/javac/diags/examples/StatExprExpected.java
+ test/tools/javac/lambda/8153884/T8153884.java
+ test/tools/javac/lambda/8153884/T8153884.out
! test/tools/javac/lambda/LambdaExpr10.out
! test/tools/javac/lambda/LambdaExprNotVoid.out

Changeset: a81036905c63
Author:    mcimadamore
Date:      2016-05-16 13:07 +0100
URL:       http://hg.openjdk.java.net/jdk9/sandbox/langtools/rev/a81036905c63

8156180: javac accepts code that violates JLS chapter 16
Summary: DA/DU analysis should skip parenthesis around variable references
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
+ test/tools/javac/DefiniteAssignment/8156180/T8156180.java
+ test/tools/javac/DefiniteAssignment/8156180/T8156180.out



More information about the jdk9-sandbox-changes mailing list