< prev index next >
test/hotspot/jtreg/vmTestbase/nsk/share/native/README
Print this page
rev 52185 : 8212148: Remove remaining NSK_CPP_STUBs
Summary: Remove remaining macros
Reviewed-by: amenkov, phh
@@ -55,14 +55,10 @@
nsk_tools.h
Provides functions and macroses for the most usefull actions:
- - access native JVM environment in a compiler independent manner
-
- NSK_CPP_STUBn(function, env, arg1, ..., argn)
-
- print error message with arguments
NSK_COMPLAINn(format, arg1, ..., argn)
- print verbose message with arguments
@@ -87,11 +83,11 @@
int nsk_getTraceMode();
- miscelaneous functions for printing messages
(hidden by above mentioned macroses)
-Typical example of using macroses NSK_CPP_STUB and NSK_VERIFY
+Typical example of using the NSK_VERIFY macro
for accesing JVM native environment:
// jvm->GetEnv(jvm, &env, version)
if (!NSK_VERIFY(
jvm->GetEnv(&env, JNI_VERSION_1_2) == JNI_OK)) {
< prev index next >