hg: amber/amber: Removing support for case null and additional switch types as suggested.

jan.lahoda at oracle.com jan.lahoda at oracle.com
Tue May 15 09:12:03 UTC 2018


Changeset: 2934689eff44
Author:    jlahoda
Date:      2018-05-15 10:50 +0200
URL:       http://hg.openjdk.java.net/amber/amber/rev/2934689eff44

Removing support for case null and additional switch types as suggested.
SwitchBootstraps removed for now as well, as these are not strictly necessary.

! make/CompileJavaModules.gmk
- src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java
! src/java.base/share/classes/module-info.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java
! 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/jdk/java/lang/runtime/TestSwitchBootstrap.java
! test/langtools/tools/javac/modules/JavaBaseTest.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitch-old.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitch.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchBugs.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchFallThrough1.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchInfer.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchInfer.out
! test/langtools/tools/javac/switchextra/MultipleLabelsExpression-old.out
! test/langtools/tools/javac/switchextra/MultipleLabelsExpression.java
! test/langtools/tools/javac/switchextra/MultipleLabelsStatement-old.out
! test/langtools/tools/javac/switchextra/MultipleLabelsStatement.java
- test/langtools/tools/javac/switchextra/SwitchBooleanExhaustivness.java
- test/langtools/tools/javac/switchextra/SwitchBooleanExhaustivness.out
- test/langtools/tools/javac/switchextra/SwitchExtra-old.out
- test/langtools/tools/javac/switchextra/SwitchExtra.java
+ test/langtools/tools/javac/switchextra/SwitchNoExtraTypes.java
+ test/langtools/tools/javac/switchextra/SwitchNoExtraTypes.out
! test/langtools/tools/javac/switchextra/SwitchObject.out
! test/langtools/tools/javac/switchextra/SwitchStatementArrow.java
- test/langtools/tools/javac/switchnull/SwitchNull-old.out
- test/langtools/tools/javac/switchnull/SwitchNull.java
- test/langtools/tools/javac/switchnull/SwitchNull.out
+ test/langtools/tools/javac/switchnull/SwitchNullDisabled.java
+ test/langtools/tools/javac/switchnull/SwitchNullDisabled.out
- test/langtools/tools/javac/switchnull/SwitchNullNegative.java
- test/langtools/tools/javac/switchnull/SwitchNullNegative.out



More information about the amber-dev mailing list