RFR: 8349009: JVM fails to start when AOTClassLinking is used with unverifiable old classes [v3]

Ioi Lam iklam at openjdk.org
Thu Jan 30 04:14:06 UTC 2025


On Thu, 30 Jan 2025 03:22:31 GMT, John R Rose <jrose at openjdk.org> wrote:

>> Ioi Lam has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Fixed typo
>>  - Added comments suggested by @rose00
>
> test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking/BulkLoaderTest.java line 242:
> 
>> 240:         Class c = BadOldClassA.class;
>> 241:         Object n = new Object();
>> 242:         if (c.isInstance(n)) {
> 
> `// Note that type-testing BadOldClassA here neither loads nor initailizes it.`

I added:

// Note that type-testing BadOldClassA here neither links nor initializes it.
                                                    ^^^^^

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23361#discussion_r1934979251


More information about the hotspot-runtime-dev mailing list