RFR: JDK-8347377 : Add validation checks for ICC_Profile header fields [v9]

Sergey Bylokhov serb at openjdk.org
Fri Feb 7 08:31:19 UTC 2025


On Thu, 6 Feb 2025 18:14:26 GMT, Phil Race <prr at openjdk.org> wrote:

>You are the only person who reads it this way.

So do you think that kcms/lcms do not follow the icc specification? and the whole feature to support lcms specific and custom/applications specific intents are useless? Its even described in the docs. 

You haven't given any reason why this needed to be changed. And I don't understand why we haven't asked lcms owners for clarification on this.

>What is a CMM implementation to do when it sees values, tags, etc which are not in the spec. ?
>In most cases, probably not what was intended.

Was the decision made based on that "probably"? This will certainly limit the feature pool for Java applications сompared to other native libraries that use lcms.

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

PR Comment: https://git.openjdk.org/jdk/pull/23044#issuecomment-2642243185


More information about the client-libs-dev mailing list