RFR: 8356844: Missing @Serial annotation for sun.print.CustomOutputBin#serialVersionUID [v3]

Sergey Bylokhov serb at openjdk.org
Mon May 19 19:11:09 UTC 2025


> The serialVersionUID field in sun.print.CustomOutputBin is missing the `@Serial` annotation. This is the only one missing usage of `@Serial` in the java.desktop module. The class was introduced in [JDK-8314070](https://bugs.openjdk.org/browse/JDK-8314070), after the `@Serial` annotation was applied to java.desktop in [JDK-8259522](https://bugs.openjdk.org/browse/JDK-8259522).

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 three additional commits since the last revision:

 - Merge branch 'openjdk:master' into JDK-8356844
 - Update src/java.desktop/share/classes/sun/print/CustomOutputBin.java
   
   Co-authored-by: Alexey Ivanov <alexey.ivanov at oracle.com>
 - 8356844: Missing @Serial annotation for sun.print.CustomOutputBin#serialVersionUID

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25202/files
  - new: https://git.openjdk.org/jdk/pull/25202/files/901a1346..8b699711

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

  Stats: 29535 lines in 731 files changed: 11453 ins; 13953 del; 4129 mod
  Patch: https://git.openjdk.org/jdk/pull/25202.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25202/head:pull/25202

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


More information about the client-libs-dev mailing list