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

Sergey Bylokhov serb at openjdk.org
Tue May 13 17:10:01 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).

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

Commit messages:
 - 8356844: Missing @Serial annotation for sun.print.CustomOutputBin#serialVersionUID

Changes: https://git.openjdk.org/jdk/pull/25202/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25202&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8356844
  Stats: 4 lines in 1 file changed: 1 ins; 2 del; 1 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