RFR: 8276184: Exclude lambda proxy class from the CDS archive if its caller class is excluded [v6]

David Holmes dholmes at openjdk.java.net
Tue Nov 16 02:14:36 UTC 2021


On Mon, 15 Nov 2021 18:19:18 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

>> The proposed patch has been redone completely to address the problem when a caller class is being excluded
>> from the archive, the associated lambda proxy class(es) was not excluded.
>> 
>> The caller class could be excluded if:
>> - it is signed;
>> - it has been redefined after its lambda proxy class was created.
>
> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   update per comments from Ioi and David

Hi Calvin,

This versions seems much better - thanks.

I still really dislike `SystemDictionaryShared::warn_excluded` always returning true but that's not an issue for this PR. :)

Thanks,
David

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

Marked as reviewed by dholmes (Reviewer).

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


More information about the hotspot-runtime-dev mailing list