Skip to content

Commit cd7abc8

Browse files
committed
8304811: vmTestbase/vm/mlvm/indy/func/jvmti/stepBreakPopReturn/INDIFY_Test.java fails with JVMTI_ERROR_TYPE_MISMATCH
Reviewed-by: mbaesken Backport-of: 854b384b120fa2af41adca3048070866fe3cafd4
1 parent d270974 commit cd7abc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/hotspot/jtreg/vmTestbase/vm/mlvm/indy/func/jvmti/stepBreakPopReturn/stepBreakPopReturn.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -89,7 +89,7 @@ MethodEntry(jvmtiEnv *jvmti_env,
8989
gIsMethodEntryWorking = JNI_TRUE;
9090

9191
if (!gIsBreakpointSet)
92-
NSK_JVMTI_VERIFY(jvmti_env->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_SINGLE_STEP, NULL));
92+
NSK_JVMTI_VERIFY(jvmti_env->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_SINGLE_STEP, thread));
9393
}
9494
}
9595

@@ -116,7 +116,7 @@ SingleStep(jvmtiEnv *jvmti_env,
116116
free(locStr);
117117
}
118118

119-
NSK_JVMTI_VERIFY(gJvmtiEnv->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_SINGLE_STEP, NULL));
119+
NSK_JVMTI_VERIFY(gJvmtiEnv->SetEventNotificationMode(JVMTI_DISABLE, JVMTI_EVENT_SINGLE_STEP, thread));
120120

121121
if (!gIsDebuggerCompatible) {
122122
if (!NSK_JVMTI_VERIFY(jvmti_env->SetBreakpoint(method, location)))

0 commit comments

Comments
 (0)