git: openjdk/jdk: 8312619: Strange error message when switching over long

Jan Lahoda jlahoda at openjdk.org
Wed Jul 26 10:37:23 UTC 2023


Changeset: cc2a75e1
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2023-07-26 10:35:15 +0000
URL:       https://git.openjdk.org/jdk/commit/cc2a75e11c4b5728c547aa764067427fdea8c941

8312619: Strange error message when switching over long

Reviewed-by: vromero

! 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/SelectorTypeNotAllowed.java
! test/langtools/tools/javac/switchextra/SwitchNoExtraTypes.out



More information about the jdk-changes mailing list