--- old/src/share/vm/prims/jni.cpp 2013-03-05 16:56:20.976535481 -0500 +++ new/src/share/vm/prims/jni.cpp 2013-03-05 16:56:19.860472071 -0500 @@ -92,7 +92,7 @@ # include "os_bsd.inline.hpp" #endif -static jint CurrentVersion = JNI_VERSION_1_6; +static jint CurrentVersion = JNI_VERSION_1_8; // The DT_RETURN_MARK macros create a scoped object to fire the dtrace --- old/src/share/vm/prims/jni.h 2013-03-05 16:56:24.528737301 -0500 +++ new/src/share/vm/prims/jni.h 2013-03-05 16:56:23.372671619 -0500 @@ -1951,6 +1951,7 @@ #define JNI_VERSION_1_2 0x00010002 #define JNI_VERSION_1_4 0x00010004 #define JNI_VERSION_1_6 0x00010006 +#define JNI_VERSION_1_8 0x00010008 #ifdef __cplusplus } /* extern "C" */ --- old/src/share/vm/runtime/thread.cpp 2013-03-05 16:56:28.060937984 -0500 +++ new/src/share/vm/runtime/thread.cpp 2013-03-05 16:56:26.924873439 -0500 @@ -4061,6 +4061,7 @@ if (version == JNI_VERSION_1_2) return JNI_TRUE; if (version == JNI_VERSION_1_4) return JNI_TRUE; if (version == JNI_VERSION_1_6) return JNI_TRUE; + if (version == JNI_VERSION_1_8) return JNI_TRUE; return JNI_FALSE; }