RFR: 8369027: Apply java.io.Serial annotations in java.scripting [v2]
Sergey Bylokhov
serb at openjdk.org
Fri Oct 3 20:36:07 UTC 2025
> Please review the application of the `@Serial` annotation ([JDK-8202385](https://bugs.openjdk.org/browse/JDK-8202385)) to types in the java.scripting module to enable stricter compile-time checking of serialization-related declarations.
>
> The patch is trivial, only one class needs to be updated.
>
> Example of a similar change https://github.com/openjdk/jdk/pull/26208.
Sergey Bylokhov 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 'openjdk:master' into JDK-8369027
- 8369027: Apply java.io.Serial annotations in java.scripting
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27599/files
- new: https://git.openjdk.org/jdk/pull/27599/files/d936251c..655176e4
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27599&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27599&range=00-01
Stats: 5366 lines in 322 files changed: 2449 ins; 1441 del; 1476 mod
Patch: https://git.openjdk.org/jdk/pull/27599.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27599/head:pull/27599
PR: https://git.openjdk.org/jdk/pull/27599
More information about the core-libs-dev
mailing list