RFR: 8365526: Crash with null Symbol passed to SystemDictionary::resolve_or_null [v5]

David Holmes dholmes at openjdk.org
Wed Nov 26 20:13:54 UTC 2025


On Wed, 26 Nov 2025 13:18:12 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> src/hotspot/share/classfile/systemDictionary.cpp line 1869:
>> 
>>> 1867:     if (entry == nullptr) {
>>> 1868:       // Only add a new resolution error if one hasn't been found for this constant pool index. In this case,
>>> 1869:       // resolution succeeded but there's an error in this nest host.
>> 
>> Suggestion:
>> 
>>       // Only add a new entry to the resolution error table if one hasn't been found for this 
>>       // constant pool index. In this case resolution succeeded but there's an error in this nest host
>>       // that we use the table to record.
>
> I do not believe this is true.

I'm only re-stating, in a clearer way, what was previously there. I believe it is true.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28438#discussion_r2566369887


More information about the hotspot-runtime-dev mailing list