Hi,

This patch adds JVMTI version information necessary to fetch a JVMTI environment from the JNI GetEnv call. A small oversight of the original patch! :-)

Keith

ChangeLog
2006-07-19  Keith Seitz  <[EMAIL PROTECTED]>

        * include/jvmti.h (JVMTI_VERSION_1_0): Define.
        (JVMTI_VERSION): Define.
Index: include/jvmti.h
===================================================================
RCS file: /sources/classpath/classpath/include/jvmti.h,v
retrieving revision 1.1
diff -u -p -r1.1 jvmti.h
--- include/jvmti.h	15 Jul 2006 17:26:11 -0000	1.1
+++ include/jvmti.h	19 Jul 2006 22:41:08 -0000
@@ -55,6 +55,10 @@ typedef struct _Jv_rawMonitorID *jrawMon
 
 #endif /* !_CLASSPATH_VM_JVMTI_TYPES_DEFINED */
 
+/* JVMTI Version */
+#define JVMTI_VERSION_1_0 0x30010000
+#define JVMTI_VERSION (JVMTI_VERSION_1_0 + 38)  /* Spec version is 1.0.38 */
+
 #ifdef __cplusplus
 extern "C"
 {

Reply via email to