I'm trying to launch an eclipse application in from the workbench via a standard launch configuration in Galileo v. 3.5.1.
I have a number of standard Plugins imported in the workspace, among others:
org.eclipse.core.runtime.compatibility.registry
org.eclipse.equinox.registry
The Fragment org.eclipse.core.runtime.compatibility.registry is supposed to patch some classes of the plugin org.eclipse.equinox.registry predominantly the IExtension interface.
During the launch, EarlyStartupRunnable tries to invoke getDeclaringPluginDescriptor on some Extension via reflection and fails, throwing a
NoSuchMethodException IExtension.getDeclaringPluginDescriptor()
in EarlyStartupRunnable.getPluginForCompatibilty()
This happens since the Method is defined in IExtension within org.eclipse.core.runtime.compatibility.registry, but apparently the one in org.eclipse.equinox.registry gets loaded by the classloader.
Is there any way to tell Eclipse which class to use in this case? Set the classpath of the plugin or something?
Tnx in advance...