[vmkit-commits] [vmkit] r142851 - /vmkit/trunk/include/j3/jni.h

Will Dietz wdietz2 at illinois.edu
Mon Oct 24 14:41:03 PDT 2011


Author: wdietz2
Date: Mon Oct 24 16:41:03 2011
New Revision: 142851

URL: http://llvm.org/viewvc/llvm-project?rev=142851&view=rev
Log:
Remove InitArgs stuff from jni.h, deprecated for internal use only

(see comments in jvm.h)

Modified:
    vmkit/trunk/include/j3/jni.h

Modified: vmkit/trunk/include/j3/jni.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/include/j3/jni.h?rev=142851&r1=142850&r2=142851&view=diff
==============================================================================
--- vmkit/trunk/include/j3/jni.h (original)
+++ vmkit/trunk/include/j3/jni.h Mon Oct 24 16:41:03 2011
@@ -184,9 +184,6 @@
 /* These functions are called by user code to start using the
    invocation API.  */
 extern _CLASSPATH_JNIIMPEXP jint JNICALL
-JNI_GetDefaultJavaVMInitArgs (void *);
-
-extern _CLASSPATH_JNIIMPEXP jint JNICALL
 JNI_CreateJavaVM (JavaVM **, void **, void *);
 
 extern _CLASSPATH_JNIIMPEXP jint JNICALL
@@ -1624,39 +1621,6 @@
   jboolean ignoreUnrecognized;
 } JavaVMInitArgs;
 
-typedef struct JDK1_1InitArgs
-{
-  /* VM version.  Should be JNI_VERSION_1_1.  Note that before JDK
-     1.1.2, this field was named 'reserved0'.  (I don't know what the
-     current 'reserved0' field was named then.)  */
-  jint version;
-
-  /* A null-terminated array of environment strings, each of the form
-     "KEY=VALUE".  This is used to set system properties.  Note that
-     before JDK 1.1.2, this field was named 'reserved1'.  */
-  char **properties;
-
-  jint checkSource;
-  jint nativeStackSize;
-  jint javaStackSize;
-  jint minHeapSize;
-  jint maxHeapSize;
-  jint verifyMode;
-  const char *classpath;
-
-  jint (JNICALL *vfprintf) (FILE *file, const char *fmt, va_list args);
-  void (JNICALL *exit) (jint value);
-  void (JNICALL *abort) (void);
-
-  jint enableClassGC;
-  jint enableVerboseGC;
-  jint disableAsyncGC;
-
-  jint reserved0;
-  jint reserved1;
-  jint reserved2;
-} JDK1_1InitArgs;
-
 typedef struct JDK1_1AttachArgs
 {
   /* Dummy field since C cannot have empty structs.  The name and type





More information about the vmkit-commits mailing list