RFR: JDK-8347377 : Add validation checks for ICC_Profile header fields [v3]
Harshitha Onkar
honkar at openjdk.org
Sat Jan 18 00:32:36 UTC 2025
On Sat, 18 Jan 2025 00:14:23 GMT, Phil Race <prr at openjdk.org> wrote:
>> @mrserb
>>> the change will also affect serialization, the test should check that code path.
>>
>> Please check @prrace response above
>
> What you could do is add a test to prove that deserialisation WILL fail.
> You'd need to create a bad profile and save it on JDK 21 - offline so to speak.
> Then write a simple test for this release that loads that icc.ser file and verify it is rejected.
@prrace Thank you. Good way to test deserialization path.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23044#discussion_r1920896903
More information about the client-libs-dev
mailing list