[jdk21u-dev] Integrated: 8320145: Compiler should accept final variable in Record Pattern
Aleksey Shipilev
shade at openjdk.org
Mon Jan 8 12:11:29 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`
This pull request has now been integrated.
Changeset: a85f3f83
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk21u-dev/commit/a85f3f8300245d97daee8f35f4ebdeb442fe1fdb
Stats: 48 lines in 3 files changed: 44 ins; 2 del; 2 mod
8320145: Compiler should accept final variable in Record Pattern
Backport-of: 4ba94ef69ef2ee576c50bb6003a795746dcdf30d
-------------
PR: https://git.openjdk.org/jdk21u-dev/pull/125
More information about the jdk-updates-dev
mailing list