Paul Webster Messages: 6859 Registered: July 2009 Location: Ottawa
> I have a custom plugin that wraps Jacorb CORBA classes.
> I have another plugin that uses these classes at runtime.
> This setup used to work on eclipse 3.2 (JDK1.5) . Since I have ported to
> eclipse 3.3(JDK 1.5),
> I get java.lang.VerifyError at runtime.
> I think this is occuring due to common interfaces org.omg.* in both the JDK
> and the JacORB jars.
> I tried to resolve this issue by not exporting the common interfaces in the
> JacORB plugin - but then I run into
> ClassCast exceptions.
> What is the mechanism for overriding JDK classes in eclipse plug-in
> development environment ?
Re-directed to eclipse.technology.equinox ... they might be able to help
you over there.
Try adding specific "versions" to you imports and exports.
Without putting attributes (like version) on your imports you're effectively
saying bind me to whatever export satisfies my requirements
Barring any extra information the OSGi resolver will prefer binding your
imports to the version from the JDK to promote sharing of the same package