On Thu, 15 Jan 2026 06:59:26 GMT, SendaoYan <[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 pull request has now been integrated.

Changeset: e4474ad8
Author:    SendaoYan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/e4474ad8ae250771e031b8c18809d3e461970365
Stats:     4 lines in 2 files changed: 0 ins; 0 del; 4 mod

8375367: vmTestbase tests reported variable uninitialized by clang23

Reviewed-by: sspitsyn, amenkov, lmesnik

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

PR: https://git.openjdk.org/jdk/pull/29247

Reply via email to