RFR: 8370368: Apply java.io.Serial annotations in java.security.jgss [v2]

Sergey Bylokhov serb at openjdk.org
Thu Oct 23 21:57:23 UTC 2025


> Please review the application of the `@Serial` annotation ([JDK-8202385](https://bugs.openjdk.org/browse/JDK-8202385)) to types in the java.security.jgss module to enable stricter compile-time checking of serialization-related declarations.
> 
> Example of a similar change https://github.com/openjdk/jdk/pull/24891.

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-8370368
 - 8370368: Apply java.io.Serial annotations in java.security.jgss

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27925/files
  - new: https://git.openjdk.org/jdk/pull/27925/files/71c9c1c8..a410e847

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

  Stats: 9837 lines in 174 files changed: 6123 ins; 2537 del; 1177 mod
  Patch: https://git.openjdk.org/jdk/pull/27925.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27925/head:pull/27925

PR: https://git.openjdk.org/jdk/pull/27925


More information about the security-dev mailing list