Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2008-07-30 18:31:13 +0000
committerAndrew Niefer2008-07-30 18:31:13 +0000
commitfb3912400f623a739c2db854a254ddb1468b7132 (patch)
treec95798fec303336370c3e4ee00a924c9fd87c6fb /bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
parent0f322e6866b7f2ca4b73e35f718f5dd119bbb9cc (diff)
downloadrt.equinox.framework-fb3912400f623a739c2db854a254ddb1468b7132.tar.gz
rt.equinox.framework-fb3912400f623a739c2db854a254ddb1468b7132.tar.xz
rt.equinox.framework-fb3912400f623a739c2db854a254ddb1468b7132.zip
bug 220461 - cocoa port
Diffstat (limited to 'bundles/org.eclipse.equinox.executable/library/eclipseJNI.c')
-rw-r--r--bundles/org.eclipse.equinox.executable/library/eclipseJNI.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c b/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
index 6ac45ce23..f3c83924b 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
@@ -388,8 +388,8 @@ int startJavaJNI( _TCHAR* libPath, _TCHAR* vmArgs[], _TCHAR* progArgs[], _TCHAR*
}
static char * getMainClass(JNIEnv *env, _TCHAR * jarFile) {
- jclass jarFileClass, manifestClass, attributesClass = NULL;
- jmethodID jarFileConstructor, getManifestMethod, getMainAttributesMethod, closeJarMethod, getValueMethod = NULL;
+ jclass jarFileClass = NULL, manifestClass = NULL, attributesClass = NULL;
+ jmethodID jarFileConstructor = NULL, getManifestMethod = NULL, getMainAttributesMethod = NULL, closeJarMethod = NULL, getValueMethod = NULL;
jobject jarFileObject, manifest, attributes;
jstring mainClassString = NULL;
jstring jarFileString, headerString;

Back to the top