[vmkit-commits] [PATCH] Remove InitArgs from jni.h, it's deprecated

Nicolas Geoffray nicolas.geoffray at gmail.com
Mon Oct 24 13:57:57 PDT 2011


LGTM (Looks Good to Me)

On Mon, Oct 24, 2011 at 10:47 PM, Will Dietz <wdietz2 at illinois.edu> wrote:

> See comments in the jvm.h added in previous commit for my source of
> information on this.
>
> Another hopefully minor groundwork change :).
> Inlined below.
>
> ~Will
>
>  include/j3/jni.h |   36 ------------------------------------
>  1 files changed, 0 insertions(+), 36 deletions(-)
>
> diff --git a/include/j3/jni.h b/include/j3/jni.h
> index 34ec2ec..7d1c651 100644
> --- a/include/j3/jni.h
> +++ b/include/j3/jni.h
> @@ -184,9 +184,6 @@ extern JNIEXPORT void JNICALL JNI_OnUnload (JavaVM
> *, void *);
>  /* 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 @@ typedef struct JavaVMInitArgs
>   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
> --
> 1.7.5.1
> _______________________________________________
> vmkit-commits mailing list
> vmkit-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/vmkit-commits/attachments/20111024/87bd68f6/attachment.html>


More information about the vmkit-commits mailing list