hg: jdk9/dev/langtools: 8156180: javac accepts code that violates JLS chapter 16

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Mon May 16 12:08:13 UTC 2016


Changeset: a81036905c63
Author:    mcimadamore
Date:      2016-05-16 13:07 +0100
URL:       http://hg.openjdk.java.net/jdk9/dev/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-dev-changes mailing list