[jdk21u] RFR: 8317300: javac erroneously allows "final" in front of a record pattern [v2]

Aleksey Shipilev shade at openjdk.org
Mon Dec 11 09:02:36 UTC 2023


> Clean backport to fix the new language feature support; innocuous, but fixing it earlier is beneficial for avoiding accidents (i.e. build failures when migrating to newer JDKs).
> 
> Additional testing:
>  - [x] MacOS AArch64 server fastdebug, new test fails without the fix, passes with it
>  - [x] MacOS AArch64 server fastdebug, `tools/javac` pass

Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'master' into JDK-8317300-javac-final
 - Backport 5ca1beb30e35cc91bf170960fb832de6438de1de

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

Changes:
  - all: https://git.openjdk.org/jdk21u/pull/369/files
  - new: https://git.openjdk.org/jdk21u/pull/369/files/fc7a24d0..1f2d75af

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk21u&pr=369&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk21u&pr=369&range=00-01

  Stats: 19354 lines in 366 files changed: 12277 ins; 1866 del; 5211 mod
  Patch: https://git.openjdk.org/jdk21u/pull/369.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u.git pull/369/head:pull/369

PR: https://git.openjdk.org/jdk21u/pull/369


More information about the jdk-updates-dev mailing list