hg: amber/amber: Return and continue should not just outside of a switch expression.
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Thu Mar 8 15:59:58 UTC 2018
Changeset: 5a006d1108a4
Author: jlahoda
Date: 2018-03-08 16:06 +0100
URL: http://hg.openjdk.java.net/amber/amber/rev/5a006d1108a4
Return and continue should not just outside of a switch expression.
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks1.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks2.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks2.out
More information about the amber-dev
mailing list