Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2006-12-06 19:56:29 +0000
committerAndrew Niefer2006-12-06 19:56:29 +0000
commit6882b54cfda45cd1b550ab8b13ee0506157bf1db (patch)
tree0fcdfff3e8369c62ced4e5b07428ac0dc30421be /bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
parent996cfeb08f163d2af8a65ddb1fd367630b696b2f (diff)
downloadrt.equinox.framework-6882b54cfda45cd1b550ab8b13ee0506157bf1db.tar.gz
rt.equinox.framework-6882b54cfda45cd1b550ab8b13ee0506157bf1db.tar.xz
rt.equinox.framework-6882b54cfda45cd1b550ab8b13ee0506157bf1db.zip
update launcher to look for library in new org.eclipse.equinox.launcher fragments.
Also update JNI calls to look for org.eclipse.equinox.launcher instead of org.eclipse.core.launcher
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 9f7e55fe9..283b4c21c 100644
--- a/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
+++ b/bundles/org.eclipse.equinox.executable/library/eclipseJNI.c
@@ -88,7 +88,7 @@ JNIEXPORT void JNICALL takedown_splash(JNIEnv * env, jobject obj){
#endif
static void registerNatives(JNIEnv *env) {
- jclass bridge = (*env)->FindClass(env, "org/eclipse/core/launcher/JNIBridge");
+ jclass bridge = (*env)->FindClass(env, "org/eclipse/equinox/launcher/JNIBridge");
if(bridge != NULL) {
int numNatives = sizeof(natives) / sizeof(natives[0]);
(*env)->RegisterNatives(env, bridge, natives, numNatives);
@@ -217,7 +217,7 @@ int startJavaVM( _TCHAR* libPath, _TCHAR* vmArgs[], _TCHAR* progArgs[] )
if( createJavaVM(&jvm, &env, &init_args) == 0 ) {
registerNatives(env);
- mainClass = (*env)->FindClass(env, "org/eclipse/core/launcher/Main");
+ mainClass = (*env)->FindClass(env, "org/eclipse/equinox/launcher/Main");
if(mainClass != NULL) {
mainConstructor = (*env)->GetMethodID(env, mainClass, "<init>", "()V");
mainObject = (*env)->NewObject(env, mainClass, mainConstructor);

Back to the top