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

Calvin Cheung ccheung at openjdk.java.net
Thu May 5 22:58:47 UTC 2022


On Thu, 5 May 2022 05:24:43 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> 
> ```
>     if (is_registered_lambda_proxy_class(k)) {
>       DumpTimeClassInfo* info = _dumptime_table->get(k);
>       assert(info != NULL, "sanity");
>      if (!check_for_exclusion(info->nest_host(), NULL) {
>       return true;
>     }
> ```
> 

I've made the above change.

Note the 
`if (!check_for_exclusion(info->nest_host(), NULL) {`
should be
`if (check_for_exclusion(info->nest_host(), NULL) {`

I've also changed the class names of the test case:
`OldNestHost` to  `NestHostOldInf`
`OldNestHostApp` to `NestHostOldInfApp`

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

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


More information about the hotspot-runtime-dev mailing list