[jdk21u-dev] RFR: 8320145: Compiler should accept final variable in Record Pattern

Aleksey Shipilev shade at openjdk.org
Mon Jan 8 12:11:28 UTC 2024


On Thu, 4 Jan 2024 10:18:57 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Clean backport to fix the new language feature in JDK 21. The patch extends the space of compilable programs.
> 
> Additional testing:
>  - [x] New regression test fails without the fix, passes with it
>  - [x] macos-aarch64-server-fastdebug, `langtools_all`

Ack!

-------------

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/125#issuecomment-1880877143


More information about the jdk-updates-dev mailing list