RFR: 8369027: Apply java.io.Serial annotations in java.scripting

Roger Riggs rriggs at openjdk.org
Thu Oct 2 14:45:03 UTC 2025


On Wed, 1 Oct 2025 22:31:42 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> 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.

Looks good. And trivial.

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

Marked as reviewed by rriggs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27599#pullrequestreview-3294984069


More information about the core-libs-dev mailing list