RFR: 8288633: The ICC_ColorSpace.fromCIEXYZ method uses the wrong rendering intent [v2]
Phil Race
prr at openjdk.org
Sun Jul 17 23:25:09 UTC 2022
On Fri, 17 Jun 2022 03:30:31 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> 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 three additional commits since the last revision:
>>
>> - Merge branch 'openjdk:master' into JDK-8288633
>> - Update ICC_ColorSpace.java
>> - 8288633: The ICC_ColorSpace.fromCIEXYZ method uses the wrong rendering intent
>
> src/java.desktop/share/classes/java/awt/color/ICC_ColorSpace.java line 539:
>
>> 537: transforms[1] = mdl.createTransform(thisProfile,
>> 538: ColorTransform.Any, ColorTransform.Out);
>> 539: }
>
> Note that this try/catch block is not needed, we never throw the exceptions here, but I follow this pattern for now. Will clean up it in the separate PR.
Is this some holdover from earlier code ?
-------------
PR: https://git.openjdk.org/jdk/pull/9194
More information about the client-libs-dev
mailing list