hg: amber/amber: 2 new changesets

jan.lahoda at oracle.com jan.lahoda at oracle.com
Fri Jun 29 14:42:58 UTC 2018


Changeset: c2746556c7c9
Author:    jlahoda
Date:      2018-06-29 13:42 +0200
URL:       http://hg.openjdk.java.net/amber/amber/rev/c2746556c7c9

Assorted cleanups to the switch branch.

! make/CompileJavaModules.gmk
! src/jdk.compiler/share/classes/com/sun/source/tree/CaseTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ArgumentAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/Pretty.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
+ test/langtools/tools/javac/diags/examples/BreakAmbiguousTarget.java
+ test/langtools/tools/javac/diags/examples/BreakComplexValueNoSwitchExpression.java
+ test/langtools/tools/javac/diags/examples/BreakExprNotImmediate.java
+ test/langtools/tools/javac/diags/examples/BreakMissingValue.java
+ test/langtools/tools/javac/diags/examples/BreakOutsideSwitchExpression.java
+ test/langtools/tools/javac/diags/examples/ContinueOutsideSwitchExpression.java
+ test/langtools/tools/javac/diags/examples/MultipleCaseLabels.java
+ test/langtools/tools/javac/diags/examples/NotExhaustive.java
+ test/langtools/tools/javac/diags/examples/ReturnOutsideSwitchExpression.java
+ test/langtools/tools/javac/diags/examples/SwitchCaseUnexpectedStatement.java
+ test/langtools/tools/javac/diags/examples/SwitchExpressionTargetCantBeVoid.java
+ test/langtools/tools/javac/diags/examples/SwitchExpressions.java
+ test/langtools/tools/javac/diags/examples/SwitchMixingCaseTypes.java
+ test/langtools/tools/javac/diags/examples/SwitchNullNotAllowed.java
! test/langtools/tools/javac/expswitch/ExpSwitchNestingTest.java
! test/langtools/tools/javac/failover/CheckAttributedTree.java
+ test/langtools/tools/javac/lambda/BadSwitchExpressionLambda.java
+ test/langtools/tools/javac/lambda/BadSwitchExpressionLambda.out
! test/langtools/tools/javac/modules/JavaBaseTest.java
! test/langtools/tools/javac/parser/JavacParserTest.java
+ test/langtools/tools/javac/switchexpr/BooleanNumericNonNumeric.java
+ test/langtools/tools/javac/switchexpr/BooleanNumericNonNumeric.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitch-old.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitch.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks2.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks2.out
! test/langtools/tools/javac/switchexpr/ParserRecovery.java
! test/langtools/tools/javac/switchexpr/ParserRecovery.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/SwitchNoExtraTypes.java
! test/langtools/tools/javac/switchextra/SwitchStatementArrow.java
! test/langtools/tools/javac/switchextra/SwitchStatementBroken.java
! test/langtools/tools/javac/switchextra/SwitchStatementBroken.out
+ test/langtools/tools/javac/switchextra/SwitchStatementBroken2.java
+ test/langtools/tools/javac/switchextra/SwitchStatementBroken2.out
! test/langtools/tools/javac/switchnull/SwitchNullDisabled.java

Changeset: 27247bfeaf89
Author:    jlahoda
Date:      2018-06-29 16:40 +0200
URL:       http://hg.openjdk.java.net/amber/amber/rev/27247bfeaf89

Changing switch enhancements to be preview features.

! src/jdk.compiler/share/classes/com/sun/source/tree/BreakTree.java
! src/jdk.compiler/share/classes/com/sun/source/tree/CaseTree.java
! src/jdk.compiler/share/classes/com/sun/source/tree/SwitchExpressionTree.java
! src/jdk.compiler/share/classes/com/sun/source/tree/Tree.java
! src/jdk.compiler/share/classes/com/sun/source/tree/TreeVisitor.java
! src/jdk.compiler/share/classes/com/sun/source/util/TreeScanner.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Preview.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/langtools/tools/javac/diags/examples/BreakAmbiguousTarget.java
! test/langtools/tools/javac/diags/examples/BreakExprNotImmediate.java
! test/langtools/tools/javac/diags/examples/BreakMissingValue.java
! test/langtools/tools/javac/diags/examples/BreakOutsideSwitchExpression.java
! test/langtools/tools/javac/diags/examples/ContinueOutsideSwitchExpression.java
! test/langtools/tools/javac/diags/examples/MultipleCaseLabels.java
! test/langtools/tools/javac/diags/examples/NotExhaustive.java
! test/langtools/tools/javac/diags/examples/ReturnOutsideSwitchExpression.java
! test/langtools/tools/javac/diags/examples/SwitchCaseUnexpectedStatement.java
! test/langtools/tools/javac/diags/examples/SwitchExpressionTargetCantBeVoid.java
! test/langtools/tools/javac/diags/examples/SwitchExpressions.java
! test/langtools/tools/javac/diags/examples/SwitchMixingCaseTypes.java
+ test/langtools/tools/javac/diags/examples/SwitchRules.java
! test/langtools/tools/javac/expswitch/ExpSwitchNestingTest.java
! test/langtools/tools/javac/lambda/BadSwitchExpressionLambda.java
! test/langtools/tools/javac/lambda/BadSwitchExpressionLambda.out
! test/langtools/tools/javac/parser/JavacParserTest.java
! test/langtools/tools/javac/switchexpr/BlockExpression.java
! test/langtools/tools/javac/switchexpr/BooleanNumericNonNumeric.java
! test/langtools/tools/javac/switchexpr/BooleanNumericNonNumeric.out
! test/langtools/tools/javac/switchexpr/ExhaustiveEnumSwitch.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitch-old.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitch.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks1.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks2.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks2.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitchBugs.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchFallThrough.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchFallThrough1.java
- test/langtools/tools/javac/switchexpr/ExpressionSwitchFallThrough1.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitchInfer.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchInfer.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitchNotExhaustive.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchNotExhaustive.out
! test/langtools/tools/javac/switchexpr/ParseIncomplete.java
! test/langtools/tools/javac/switchexpr/ParserRecovery.java
! test/langtools/tools/javac/switchexpr/ParserRecovery.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/SwitchStatementArrow-old.out < test/langtools/tools/javac/switchextra/SwitchStatementBroken.out
! test/langtools/tools/javac/switchextra/SwitchStatementArrow.java
! test/langtools/tools/javac/switchextra/SwitchStatementBroken.java
+ test/langtools/tools/javac/switchextra/SwitchStatementBroken.out
! test/langtools/tools/javac/switchextra/SwitchStatementBroken2.java
! test/langtools/tools/javac/switchextra/SwitchStatementBroken2.out
! test/langtools/tools/javac/tree/SourceTreeScannerTest.java
! test/langtools/tools/javac/tree/TreePosTest.java



More information about the amber-dev mailing list