diff -r 720fd6544b03 -r 79dc492c00ab test/hotspot/jtreg/vmTestbase/nsk/stress/jni/libjnistress001.cpp --- a/test/hotspot/jtreg/vmTestbase/nsk/stress/jni/libjnistress001.cpp Mon Sep 17 15:25:42 2018 -0700 +++ b/test/hotspot/jtreg/vmTestbase/nsk/stress/jni/libjnistress001.cpp Mon Sep 17 19:36:09 2018 -0700 @@ -28,9 +28,7 @@ #include #include "jnihelper.h" -#ifdef __cplusplus extern "C" { -#endif #define DIGESTLENGTH 16 @@ -242,6 +240,4 @@ return(env->NewString(javachars->str[index-1],javachars->size[index-1])); } -#ifdef __cplusplus } -#endif