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

Sergey Bylokhov serb at openjdk.org
Tue Oct 21 21:55:14 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 four additional commits since the last revision:

 - Merge branch 'openjdk:master' into JDK-8369032
 - 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/6ad4a82c..71c26aaf

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

  Stats: 33728 lines in 860 files changed: 20081 ins; 9499 del; 4148 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