git: openjdk/jdk: 2 new changesets

Jan Lahoda jlahoda at openjdk.org
Mon Feb 6 12:26:30 UTC 2023


Changeset: 7ac2079b
Author:    Aggelos Biboudis <abimpoudis at openjdk.org>
Committer: Jan Lahoda <jlahoda at openjdk.org>
Date:      2023-02-06 12:24:21 +0000
URL:       https://git.openjdk.org/jdk/commit/7ac2079ba7dd07c61576e0b39692a94eecc96e07

8301025: ClassCastException in switch with generic record

Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java
+ test/langtools/tools/javac/T8301025.java

Changeset: 522fa132
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2023-02-06 12:25:06 +0000
URL:       https://git.openjdk.org/jdk/commit/522fa1327422e49eaa172d43185b3d85b2561036

8301580: Error recovery does not clear returnResult

Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! test/langtools/jdk/jshell/SnippetHighlightTest.java
+ test/langtools/tools/javac/recovery/AttrRecovery.java



More information about the jdk-changes mailing list