< prev index next >

test/hotspot/jtreg/vmTestbase/nsk/share/native/README

Print this page
rev 51840 : [mq]: refactor

@@ -92,11 +92,11 @@
 Typical example of using macroses NSK_CPP_STUB and NSK_VERIFY
 for accesing JVM native environment:
 
     // jvm->GetEnv(jvm, &env, version)
     if (!NSK_VERIFY(
-            NSK_CPP_STUB3(GetEnv, jvm, &env, JNI_VERSION_1_2) == JNI_OK)) {
+            jvm->GetEnv(&env, JNI_VERSION_1_2) == JNI_OK)) {
         return JNI_ERR;
     }
 
 For more specific checks in invocations of JNI and JVMTI functions
 use special macroses defined in share/jni and share/jvmti frameworks.
< prev index next >