hg: amber/amber: "case null:" no longer needs to be the first case in a switch; cleaning up non-indy desugaring.
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Mon Mar 12 16:56:15 UTC 2018
Changeset: 89e859ae9375
Author: jlahoda
Date: 2018-03-12 17:49 +0100
URL: http://hg.openjdk.java.net/amber/amber/rev/89e859ae9375
"case null:" no longer needs to be the first case in a switch; cleaning up non-indy desugaring.
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/langtools/tools/javac/switchnull/SwitchNull.java
+ test/langtools/tools/javac/switchnull/SwitchNull.out
! test/langtools/tools/javac/switchnull/SwitchNullNegative.java
! test/langtools/tools/javac/switchnull/SwitchNullNegative.out
More information about the amber-dev
mailing list