RFR: 8369032: Add test to ensure serialized ICC_Profile stores only necessary optional data [v2]

Sergey Bylokhov serb at openjdk.org
Tue Oct 7 18:01:28 UTC 2025


> Added a small test to check the size of ICC profile data after serialization.
> For standard profiles, the size should stay small (under 200 bytes) because the real data is not stored.
> For custom profiles, the size depends on the real data plus a small overhead.

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-8369032
 - Update SerializedFormSize.java
 - 8369032: Add test to ensure serialized ICC_Profile stores only necessary optional data

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27616/files
  - new: https://git.openjdk.org/jdk/pull/27616/files/3f91eca3..6ad4a82c

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

  Stats: 10622 lines in 430 files changed: 6792 ins; 2017 del; 1813 mod
  Patch: https://git.openjdk.org/jdk/pull/27616.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27616/head:pull/27616

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


More information about the client-libs-dev mailing list