RFR: JDK-8346465 : Add a check in setData() to restrict the update of Built-In ICC_Profiles [v6]

Harshitha Onkar honkar at openjdk.org
Sat Mar 1 00:52:28 UTC 2025


On Fri, 28 Feb 2025 23:45:31 GMT, Phil Race <prr at openjdk.org> wrote:

>> src/java.desktop/share/classes/java/awt/color/ICC_Profile.java line 1170:
>> 
>>> 1168:      * @throws IllegalArgumentException if {@code tagSignature} is not a
>>> 1169:      *         signature as defined in the ICC specification.
>>> 1170:      * @throws IllegalArgumentException if a content of the {@code tagData}
>> 
>> This is an existing issue, if it's an issue: should the text say *“**the** content”* instead of *“**a** content”*? @prrace
>
> Yes.

Updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23606#discussion_r1976182378


More information about the client-libs-dev mailing list