hg: amber/amber: Adding repeated case labels to expression switches, fixing TreeTranslator to understand switch expressions.

jan.lahoda at oracle.com jan.lahoda at oracle.com
Mon Jan 15 10:20:00 UTC 2018


Changeset: 9278248c6c71
Author:    jlahoda
Date:      2018-01-15 11:12 +0100
URL:       http://hg.openjdk.java.net/amber/amber/rev/9278248c6c71

Adding repeated case labels to expression switches, fixing TreeTranslator to understand switch expressions.

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeTranslator.java
+ test/langtools/tools/javac/switchexpr/ExpressionSwitchFallThrough.java
+ test/langtools/tools/javac/switchexpr/MultipleLabels.java
! test/langtools/tools/javac/switchnull/SwitchNullNegative.java
! test/langtools/tools/javac/switchnull/SwitchNullNegative.out



More information about the amber-dev mailing list