RFR: 8357287: Unify usage of ICC profile "header size" constants in CMM-related code
Sergey Bylokhov
serb at openjdk.org
Wed May 21 03:04:36 UTC 2025
Small unification of "header size" constants, as of now the CMM code uses:
1. sun.java2d.cmm.ProfileDataVerifier.HEADER_SIZE introduced in JDK-8013430
2. java.awt.color.ICC_Profile.HEADER_SIZE introduced in [JDK-8347377](https://bugs.openjdk.org/browse/JDK-8347377)
3. Hardcoded literal 128
-------------
Commit messages:
- 8357287: Unify usage of ICC profile "header size" constants in CMM-related code
Changes: https://git.openjdk.org/jdk/pull/25313/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25313&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8357287
Stats: 10 lines in 2 files changed: 2 ins; 2 del; 6 mod
Patch: https://git.openjdk.org/jdk/pull/25313.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25313/head:pull/25313
PR: https://git.openjdk.org/jdk/pull/25313
More information about the client-libs-dev
mailing list