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

Sergey Bylokhov serb at openjdk.org
Sun Oct 26 22:49:43 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 four additional commits since the last revision:

 - Merge branch 'openjdk:master' into JDK-8370368
 - Replace java.io.Serial annotations with @Serial
 - 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/89b4abe2..10ac32e5

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

  Stats: 1779 lines in 52 files changed: 1101 ins; 454 del; 224 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