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

Sergey Bylokhov serb at openjdk.org
Sat Oct 4 02:43:21 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.

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

Commit messages:
 - 8369032: Add test to ensure serialized ICC_Profile stores only necessary optional data

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