hg: jdk/submit: 8240964: Compilation error thrown when long literal used with yield
jan.lahoda at oracle.com
jan.lahoda at oracle.com
Mon Mar 16 12:24:19 UTC 2020
Changeset: 4eaf6922273a
Author: jlahoda
Date: 2020-03-16 13:06 +0100
URL: https://hg.openjdk.java.net/jdk/submit/rev/4eaf6922273a
8240964: Compilation error thrown when long literal used with yield
Summary: Ensuring yield followed by a long literal is recognized as a yield statement.
Reviewed-by: mcimadamore
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/langtools/tools/javac/switchexpr/ExpressionSwitch.java
More information about the jdk-submit-changes
mailing list