git: openjdk/jdk: 8320145: Compiler should accept final variable in Record Pattern

Aggelos Biboudis abimpoudis at openjdk.org
Fri Dec 1 07:14:51 UTC 2023


Changeset: 4ba94ef6
Author:    Aggelos Biboudis <abimpoudis at openjdk.org>
Date:      2023-12-01 07:13:39 +0000
URL:       https://git.openjdk.org/jdk/commit/4ba94ef69ef2ee576c50bb6003a795746dcdf30d

8320145: Compiler should accept final variable in Record Pattern

Reviewed-by: jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/langtools/tools/javac/patterns/T8317300.out
+ test/langtools/tools/javac/patterns/T8320145.java



More information about the jdk-changes mailing list