On Tue, 1 Jul 2025 07:38:31 GMT, Artem Semenov <aseme...@openjdk.org> wrote:

>> The defect has been detected and confirmed in the function 
>> ```IterateOverHeapObjectClosure::do_object()``` located in the file 
>> ```src/hotspot/share/prims/jvmtiTagMap.cpp``` with static code analysis. 
>> This defect can potentially lead to a null pointer dereference.
>> 
>> The pointer ```oop o``` is passed to the constructor of the CallbackWrapper 
>> class, where it is dereferenced without a null check.
>
> Artem Semenov has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Updated the text of assert

Same here. I just don't want to see the CR refiled if the analysis tool still 
complains.

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

PR Comment: https://git.openjdk.org/jdk/pull/26002#issuecomment-3033543386

Reply via email to