hg: amber/amber: Fixing error message when there are incompatible types in switch expression.

jan.lahoda at oracle.com jan.lahoda at oracle.com
Tue Jul 10 12:20:02 UTC 2018


Changeset: 1b687dc837a3
Author:    jlahoda
Date:      2018-07-10 14:19 +0200
URL:       http://hg.openjdk.java.net/amber/amber/rev/1b687dc837a3

Fixing error message when there are incompatible types in 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/tools/javac/switchexpr/ExpressionSwitchInfer.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitchInfer.out



More information about the amber-dev mailing list