hg: amber/amber: 3 new changesets
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Wed Jul 11 09:07:33 UTC 2018
Changeset: df740011e563
Author: jlahoda
Date: 2018-07-11 11:04 +0200
URL: http://hg.openjdk.java.net/amber/amber/rev/df740011e563
Adjusting output files.
! test/langtools/tools/javac/switchexpr/BooleanNumericNonNumeric.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitch-old.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks2.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitchInfer.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitchNotExhaustive.out
! test/langtools/tools/javac/switchexpr/ExpressionSwitchUnreachable.out
! test/langtools/tools/javac/switchexpr/ParserRecovery.out
! test/langtools/tools/javac/switchextra/MultipleLabelsExpression-old.out
! test/langtools/tools/javac/switchextra/MultipleLabelsStatement-old.out
! test/langtools/tools/javac/switchextra/SwitchNoExtraTypes.out
! test/langtools/tools/javac/switchextra/SwitchObject.out
! test/langtools/tools/javac/switchextra/SwitchStatementArrow-old.out
! test/langtools/tools/javac/switchextra/SwitchStatementBroken.out
! test/langtools/tools/javac/switchextra/SwitchStatementBroken2.out
! test/langtools/tools/javac/switchnull/SwitchNullDisabled.out
Changeset: 39fb108ceec8
Author: jlahoda
Date: 2018-07-11 11:06 +0200
URL: http://hg.openjdk.java.net/amber/amber/rev/39fb108ceec8
Adding example for compiler.misc.incompatible.type.in.switch.expression.
+ test/langtools/tools/javac/diags/examples/IncompatibleTypesInSwitchExpression.java
Changeset: bd1b9d9af00d
Author: jlahoda
Date: 2018-07-11 11:07 +0200
URL: http://hg.openjdk.java.net/amber/amber/rev/bd1b9d9af00d
Ambiguity between expression and label in breaks should be an error.
! 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/tools/javac/diags/examples/BreakAmbiguousTarget.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