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

Jan Lahoda jlahoda at openjdk.org
Mon Aug 7 08:19:21 UTC 2023


Changeset: f65c4503
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2023-08-07 08:17:36 +0000
URL:       https://git.openjdk.org/jdk21u/commit/f65c4503a89940fbbff87ae5889e2165ed1c9509

8312619: Strange error message when switching over long

Backport-of: cc2a75e11c4b5728c547aa764067427fdea8c941

! 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-updates-changes mailing list