On Fri, 3 Jul 2026 13:11:06 GMT, Chen Liang <[email protected]> wrote:

>> Chen Liang has updated the pull request with a new target base due to a 
>> merge or a rebase. The incremental webrev excludes the unrelated changes 
>> brought in by the merge/rebase. The pull request contains four additional 
>> commits since the last revision:
>> 
>>  - Review comments, a few more cases
>>  - Merge branch 'lworld' of https://github.com/openjdk/valhalla into 
>> fix/lw-ser-strict-in-super
>>  - Another case
>>  - Make sure serialization fails for "strict in serializable super"
>
> Thanks for the reviews, Alan and Jaikiran, and thanks Tobias for rubber 
> stamping before the freeze!

@liach java.io.InvalidClassException has a list of the cases where the 
exception is thrown. It lists value classes and it could potentially list 
classes with strictly-initialized fields too. It does include "Other conditions 
given in the JOSS" so not strictly needed but could be looked at.

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

PR Comment: https://git.openjdk.org/valhalla/pull/2612#issuecomment-4878148762

Reply via email to