RFR: 8285914: AppCDS crash when using shared archive with old class file [v4]

David Holmes dholmes at openjdk.java.net
Mon May 9 01:42:48 UTC 2022


On Fri, 6 May 2022 06:29:41 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

>> Please review this change for an additional check before archiving a lambda proxy class. If the nest host of an lambda proxy class implements an old (major version < JDK_6 (50)) interface, the lambda proxy class should not be archived. This avoids accessing a null nest host during runtime while loading the lambda proxy class from the CDS archive.
>> 
>> Passed the test in the bug report.
>> 
>> Passed CI tiers 1 - 4 testing (including the new tests).
>
> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   exclude lambda proxy class in CleanupDumpTimeLambdaProxyClassTable

Looks good!

Thanks.

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

Marked as reviewed by dholmes (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/8540


More information about the hotspot-runtime-dev mailing list