Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.equinox.executable/library/eclipseJNI.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c b/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
index cc7c7ef1b..d01b8b496 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
@@ -314,13 +314,12 @@ int startJavaJNI( _TCHAR* libPath, _TCHAR* vmArgs[], _TCHAR* progArgs[] )
#ifdef MACOSX
init_args.version = JNI_VERSION_1_4;
- init_args.ignoreUnrecognized = JNI_TRUE;
#else
init_args.version = JNI_VERSION_1_2;
- init_args.ignoreUnrecognized = JNI_FALSE;
#endif
init_args.options = options;
init_args.nOptions = numVMArgs;
+ init_args.ignoreUnrecognized = JNI_TRUE;
if( createJavaVM(&jvm, &env, &init_args) == 0 ) {
registerNatives(env);

Back to the top