On Thu, 15 Jan 2026 16:03:53 GMT, Serguei Spitsyn <[email protected]> wrote:

>> Hi all,
>> 
>> The local variable `dummy` is uninitialzed in function `static void JNICALL 
>> agentProc(jvmtiEnv* jvmti, JNIEnv* jni, void* arg)` at file 
>> test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/multienv/MA04/ma04t002/ma04t002[a].cpp.
>>  This PR initial the local variable `dummy` explicitly to avoid compiler 
>> warning by clang23.
>> 
>> Change has been verified locally by run the test entry 
>> test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/multienv/MA04/ma04t002/TestDescription.java.
>>  Test-fix only, no risk.
>
> This is a reasonable fix.

Thanks for the reviews @sspitsyn @lmesnik @alexmenkov

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

PR Comment: https://git.openjdk.org/jdk/pull/29247#issuecomment-3757930325

Reply via email to