Community
Participate
Working Groups
Fedora uses the latest JDK and dropins to deploy mylyn. Mylyn uses some APIs by requiring entire bundles, packaging them, and eventually duplicating some of the JDK7 packages: javax.activation - JDK javax.annotation - JDK javax.jws - JDK javax.management - JDK javax.management.remote - JDK javax.transaction - JDK javax.xml - JDK javax.xml.bind - JDK javax.xml.soap - JDK javax.xml.stream - JDK javax.xml.ws - JDK The result is that if you try to install mylyn using dropins, OSGi will load those javax.* bundles, change the wirings and cause many LinkageErrors (because sources of javax.xml.* classes have been changed, and already loaded classes are considered to be different from those newly loaded). Mylyn should import those packages that are present in the JDK7 and let P2 install additional bundles if older versions of JDK are in use.
We had to explicitly require the bundles in the features to ensure that the packages are available since the p2 resolver would otherwise ignore them. AFAIK, all Orbit bundles that ship JDK packages require system.bundle but I don't know how that works with dropins. Could you simply exclude these bundles in the Redhat packaging?
Ok, it looks like this has nothing to do with included packages, but it is a bug in the Equinox. Closing for now as a duplicate. *** This bug has been marked as a duplicate of bug 297769 ***