RFR: 8357287: Unify usage of ICC profile "header size" constants in CMM-related code

Phil Race prr at openjdk.org
Wed May 21 21:00:54 UTC 2025


On Tue, 20 May 2025 00:37:15 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> 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

Marked as reviewed by prr (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25313#pullrequestreview-2859099087


More information about the client-libs-dev mailing list