git: openjdk/babylon: code-reflection: Update the model of pattern matching when pattern variable identifier is underscore

Mourad Abbay mabbay at openjdk.org
Wed Sep 18 12:35:06 UTC 2024


Changeset: a23e320c
Branch: code-reflection
Author:    Mourad Abbay <mabbay at openjdk.org>
Date:      2024-09-18 12:33:35 +0000
URL:       https://git.openjdk.org/babylon/commit/a23e320c96052552a201f65dd3e788e00a23db0a

Update the model of pattern matching when pattern variable identifier is underscore

Reviewed-by: psandoz

! src/java.base/share/classes/java/lang/reflect/code/op/CoreOp.java
! src/java.base/share/classes/java/lang/reflect/code/op/ExtendedOp.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ReflectMethods.java
! test/langtools/tools/javac/reflect/PatternsTest.java
! test/langtools/tools/javac/reflect/SwitchExpressionTest.java
! test/langtools/tools/javac/reflect/SwitchExpressionTest2.java
! test/langtools/tools/javac/reflect/SwitchStatementTest.java



More information about the babylon-dev mailing list