Eclipse no longer working with 1.9.0-ea-b61

Andreas Kohn andreas.kohn at gmail.com
Thu May 7 08:33:53 UTC 2015


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

> > With my local build however things change: Eclipse still doesn't
> > start, but now reports "java.lang.LinkageError: loader constraint
> > violation: loader (instance of sun/misc/Launcher$ExtClassLoader)
> > previously initiated loading for a different type with name
> > "org/w3c/dom/stylesheets/StyleSheet"".
> >
> > Will file an issue with eclipse, pointing here, thanks for your help
> > again!
> Loader constraint issues are a pain to diagnose. Can you run with
> -verbose as I'm curious where org.w3c.dom.stylesheets.StyleSheet is
> being loaded from. I will guess that Eclipse is shipping its own copy.
>
>
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


More information about the jdk9-dev mailing list