hg: jdk/submit: 2 new changesets

jan.lahoda at oracle.com jan.lahoda at oracle.com
Mon May 4 10:47:32 UTC 2020


Changeset: f08a56c38dde
Author:    jlahoda
Date:      2020-05-04 12:28 +0200
URL:       https://hg.openjdk.java.net/jdk/submit/rev/f08a56c38dde

8243557: Inconvenient span for multi-catch error diagnostics
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
! test/langtools/jdk/jshell/ErrorTranslationTest.java
+ test/langtools/tools/javac/api/DiagSpans.java

Changeset: b25259835ebc
Author:    jlahoda
Date:      2020-05-04 12:28 +0200
URL:       https://hg.openjdk.java.net/jdk/submit/rev/b25259835ebc

8243548: Javac incorrectly collects enum fields when verifying switch expression exhaustivness
Summary: When gathering enum constants for exhaustivness analysis, make sure nested enum classes are not included
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
! test/langtools/tools/javac/switchexpr/ExhaustiveEnumSwitch.java



More information about the jdk-submit-changes mailing list