Eclipse no longer working with 1.9.0-ea-b61

Andreas Kohn andreas.kohn at gmail.com
Thu May 7 11:02:42 UTC 2015


You can actually download the bundle via Eclipses' orbit repository:
http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/repository/plugins/javax.xml_1.3.4.v201005080400.jar

The description for this bundle at
http://download.eclipse.org/tools/orbit/downloads/drops/R20150124073747/
says "Part of and required for Xerces 2.9.0. The bundle corresponds to the
xml-apis.jar in the Xerces distribution.",

It "exports" these things:
javax.xml;version="1.3",
javax.xml.datatype;version="1.3",
javax.xml.namespace;version="1.3",
javax.xml.parsers;version="1.3",
javax.xml.transform;version="1.3",
javax.xml.transform.dom;version="1.3",
javax.xml.transform.sax;version="1.3",
javax.xml.transform.stream;version="1.3",
javax.xml.validation;version="1.3",
javax.xml.xpath;version="1.3",
org.apache.xmlcommons;version="1.3.4",
org.w3c.dom;version="3.0",
org.w3c.dom.bootstrap;version="3.0",
org.w3c.dom.css;version="2.0",
org.w3c.dom.events;version="2.0",
org.w3c.dom.html;version="2.0",
org.w3c.dom.ls;version="2.0",
org.w3c.dom.ranges;version="2.0",
org.w3c.dom.stylesheets;version="2.0",
org.w3c.dom.traversal;version="2.0",
org.w3c.dom.views;version="2.0",
org.w3c.dom.xpath;version="3.0",
org.xml.sax;version="2.0.2",
org.xml.sax.ext;version="2.0.2",
org.xml.sax.helpers;version="2.0.2"

With that said I did a small experiment: remove all classes from the
bundle, and only leave a (trimmed) META-INF/MANIFEST.MF. That didn't work,
however just by additionally keeping the org.w3c.dom.css classes eclipse
starts up again. :)

$ jar xf ~/modules/eclipse/plugins/javax.xml_1.3.4.v201005080400.jar
$ rm ~/modules/eclipse/plugins/javax.xml_1.3.4.v201005080400.jar
$ # remove stuff from META-INF/MANIFEST.MF
$ jar cvmf META-INF/MANIFEST.MF-trimmed
~/modules/eclipse/plugins/javax.xml_1.3.4.v201005080400.jar about* license/
org/apache/ plugin.properties org/w3c/dom/css

Thanks for pointing me in the right direction, will update the eclipse bug
as well!

--
Andreas




On Thu, May 7, 2015 at 11:23 AM Alan Bateman <Alan.Bateman at oracle.com>
wrote:

>
>
> On 07/05/2015 09:33, Andreas Kohn wrote:
> > :
> >
> > Indeed, Eclipse seems to load them from a javax.xml bundle as well,
> > attached are the -verbose and -verbose + -Dsun.misc.URLClassPath.debug
> > logs.
> >
> > Quick grep:
> > [andreas at winterfell ~]$ grep org.w3c.dom.stylesheets
> > eclipse-9-internal-app-verbose-debug.out
> > URLClassPath.getResource("org/w3c/dom/stylesheets/DocumentStyle.class")
> > [Loaded org.w3c.dom.stylesheets.DocumentStyle from
> >
> file:/home/andreas/modules/eclipse-4.5M6/plugins/javax.xml_1.3.4.v201005080400.jar]
> > URLClassPath.getResource("org/w3c/dom/stylesheets/StyleSheetList.class")
> > URLClassPath.getResource("org/w3c/dom/stylesheets/StyleSheetList.class")
> > [Loaded org.w3c.dom.stylesheets.StyleSheetList from jrt:/jdk.xml.dom]
> > URLClassPath.getResource("org/w3c/dom/stylesheets/StyleSheet.class")
> > [Loaded org.w3c.dom.stylesheets.StyleSheet from
> >
> file:/home/andreas/modules/eclipse-4.5M6/plugins/javax.xml_1.3.4.v201005080400.jar]
> > URLClassPath.getResource("org/w3c/dom/stylesheets/MediaList.class")
> > URLClassPath.getResource("org/w3c/dom/stylesheets/MediaList.class")
> > [Loaded org.w3c.dom.stylesheets.MediaList from jrt:/jdk.xml.dom]
> > URLClassPath.getResource("org/w3c/dom/stylesheets/StyleSheet.class")
> > URLClassPath.getResource("org/w3c/dom/stylesheets/StyleSheet.class")
> > [Loaded org.w3c.dom.stylesheets.StyleSheet from jrt:/jdk.xml.dom]
> >
> > --
> > Andreas
> >
> > PS: The eclipse bug:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=466690
> I'm curious what else might be in this javax.xml bundle in case there
> are other potential issues too.
>
> Thanks for create the bug in Eclipse's bugzilla.
>
> -Alan
>


More information about the jdk9-dev mailing list