Integrated: 8369027: Apply java.io.Serial annotations in java.scripting
Sergey Bylokhov
serb at openjdk.org
Fri Oct 3 23:20:54 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.
This pull request has now been integrated.
Changeset: c3fbbfab
Author: Sergey Bylokhov <serb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c3fbbfabcc9a9535a3b422c1c9afaa8e092a5da0
Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
8369027: Apply java.io.Serial annotations in java.scripting
Reviewed-by: rriggs
-------------
PR: https://git.openjdk.org/jdk/pull/27599
More information about the core-libs-dev
mailing list