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

Sergey Bylokhov serb at openjdk.org
Fri Jan 24 00:54:59 UTC 2025


On Sat, 18 Jan 2025 00:02:06 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>>> Interesting, this exception is not specified for this method.
>> 
>> What do you mean?
>> 
>> The javadoc is:
>> 
>>      * @throws IllegalArgumentException If the byte array does not contain valid
>>      *         ICC Profile data
>> 
>> The error message is not specified, the error message can be changed to be more specific to the case where it's thrown.
>
>> Interesting, this exception is not specified for this method.
> 
> We were not able follow what you mean, can you please elaborate?

I think I accidentally opened the source code for 8, which is missing throws

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23044#discussion_r1927935028


More information about the client-libs-dev mailing list