diff options
author | mikael <none@none> | 2012-11-21 09:02:13 -0800 |
---|---|---|
committer | mikael <none@none> | 2012-11-21 09:02:13 -0800 |
commit | 55ec579782d6b05071bbeeba7fec7eebac36ad91 (patch) | |
tree | fc677e7294a8604d1baef974e756a57e30d7c7ac /src | |
parent | d8df9cb312be5c20ae4efa4b1eedbb4e0f759c1d (diff) |
8003690: Example code in JVMTI GetStackTrace documentation is broken
Summary: Fixed to minor errors in example code
Reviewed-by: sspitsyn, dholmes
Diffstat (limited to 'src')
-rw-r--r-- | src/share/vm/prims/jvmti.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/vm/prims/jvmti.xml b/src/share/vm/prims/jvmti.xml index 517083f20..dbd6735aa 100644 --- a/src/share/vm/prims/jvmti.xml +++ b/src/share/vm/prims/jvmti.xml @@ -2370,11 +2370,11 @@ jint count; jvmtiError err; err = (*jvmti)->GetStackTrace(jvmti, aThread, 0, 5, - &frames, &count); + frames, &count); if (err == JVMTI_ERROR_NONE && count >= 1) { char *methodName; err = (*jvmti)->GetMethodName(jvmti, frames[0].method, - &methodName, NULL); + &methodName, NULL, NULL); if (err == JVMTI_ERROR_NONE) { printf("Executing method: %s", methodName); } |