git: openjdk/jdk: jdk23: 8335766: Switch case with pattern matching and guard clause compiles inconsistently

Jan Lahoda jlahoda at openjdk.org
Thu Jul 11 11:09:02 UTC 2024


Changeset: e991c0f9
Branch: jdk23
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2024-07-11 11:08:31 +0000
URL:       https://git.openjdk.org/jdk/commit/e991c0f921768debdb8cb849acd5006ce81c989a

8335766: Switch case with pattern matching and guard clause compiles inconsistently

Reviewed-by: vromero
Backport-of: 537d20afbff255489a7b1bdb0410b9d1aba715b7

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/langtools/tools/javac/patterns/DisambiguatePatterns.java



More information about the jdk-changes mailing list