On Sat, 18 Jan 2025 00:14:23 GMT, Phil Race <p...@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

Reply via email to