|[cross-project-issues-dev] Classloading issue when using Batik 1.7 SVG toolkit|
I would like to discuss a potential solution the a classloading issue that we encountered in bug .
In summary, we use the Batik 1.7 SVG toolkit by using the bundles  and  from the latest Orbit-S.
Bundle  imports the package “org.w3c.dom” without specifying a version constraint and bundle  exports the package “org.w3c.dom.events” in version 3.0.0. There’s also a package “org.w3c.dom.events” in the JRE. Due to the missing package constraint in , the event classes are always loaded from the JRE. However, Batik 1.7 requires the event classes loaded from  which leads to a Linkage Error.
Our proposal is to create a new bundle that contains both packages in  and . In this case, the event classes will be loaded inside the new bundle and not from the JRE anymore.
Furthermore,  contains part of Batik SVG toolkit 1.7 whereas  contains Batik SVG toolkit 1.6 sources. The new bundle shouldn’t mix the different versioned Batik SVG sources. We might consider to create 2 bundles, one with Batik SVG 1.6 sources and one with SVG 1.7 sources.
Any recommendations or objections?
Description: S/MIME cryptographic signature