Community
Participate
Working Groups
We are seeing numerous OSGi wiring issues related to the javax.xml.bind package that started to crop up on Luna after Equinox changed wiring rules to not always prefer the version of the package that originates from the JDK. Some of these problems can be resolved by changing what other bundles require/import, but some have no clear solutions. Equinox just fails to compute the correct wiring and some bundles don't activate. Sometimes, but not always, launching Eclipse with -clean will compute the correct wiring. While an argument can be made that this is an Equinox problem, there hasn't been any progress on finding a solution. The changes made in Luna that caused these problems to start cropping up have been characterized as legitimate. The simplest solution on our end to resolve all of these issues is to stop distributing the javax.xml.bind bundle as part of WTP. The javax.xml.bind package is available in Java 6, which is two Java versions ago. There unlikely to be a legitimate requirement for keeping BREE at Java 5, especially when many other plugins are already at BREE 6. Please consider this for Luna SR2.
I notice that old versions of Mylyn, for instance, included javax.xml.bind bundle (a newer version than what WTP is ditributing), but they have long ago moved away from this.
The javax.xml.bind bundle is installed due to a dependency in org.eclipse.jst.ws.cxf.feature. feature.
Looking into it.
We are considering including a fix for this bug for an early WTP 3.6.2 release. Konstantin, I assume you're in favor of including a fix for this in an early 3.6.2 service release? If so, Shane, will you or someone else be able to provide a working patch for this issue in then next few days?
+1 to include the fix in 3.6.2
Neil, I'm working on it but no I'm not going to have anything ready in the next few days. What's the cutoff for the 3.6.2 release?
Not sure yet, will get back to you.
Created attachment 248121 [details] javax.xml.bind dependency removal patch Managed to free up some time. Attaching a patch. It removes our dependency on javax.xml.bind. It doesn't require increasing the BREE level of the bundles. Will be on the status call later.
Julio I've committed and pushed the fix to the R3_6_maintenance branch for the 3.6.2 build.
The javax.xml.bind bundle is still present in the following build: http://build.eclipse.org/webtools/committers/wtp4x-R3.6.2-M/20141023000031/M-3.6.2-20141023000031/ Was this fix included in the above build? If it was, the WS fix may only be a part of what's necessary.
javax.xml.bind bundle confirmed removed in http://build.eclipse.org/webtools/committers/wtp4x-R3.6.2-M/20141030155022/M-3.6.2-20141030155022/