hg: amber/amber: Value breaks out of a switch expression should be immediatelly inside the switch expression.

jan.lahoda at oracle.com jan.lahoda at oracle.com
Tue Apr 17 16:38:15 UTC 2018


Changeset: 91076e2839c7
Author:    jlahoda
Date:      2018-04-17 18:19 +0200
URL:       http://hg.openjdk.java.net/amber/amber/rev/91076e2839c7

Value breaks out of a switch expression should be immediatelly inside the switch expression.

! 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/langtools/lib/combo/tools/javac/combo/Diagnostics.java
! test/langtools/lib/combo/tools/javac/combo/JavacTemplateTestBase.java
! test/langtools/tools/javac/expswitch/ExpSwitchNestingTest.java
! 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