RFR: JDK-8347377 : Add validation checks for ICC_Profile header fields [v3]
Sergey Bylokhov
serb at openjdk.org
Tue Jan 14 17:36:43 UTC 2025
On Mon, 13 Jan 2025 19:07:13 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
>>
>> indentation
>
> src/java.desktop/share/classes/java/awt/color/ICC_Profile.java line 995:
>
>> 993: case icSigAbstractClass -> CLASS_ABSTRACT;
>> 994: case icSigNamedColorClass -> CLASS_NAMEDCOLOR;
>> 995: default -> throw new IllegalArgumentException("Unknown device class");
>
> This will expand the line out of 80 chars per line
Interesting, this exception is not specified for this method.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23044#discussion_r1915314590
More information about the client-libs-dev
mailing list