Bug#500909: libxpp3-java: includes javax.xml.namespace.QName class

Marcus Better marcus at better.se
Thu Oct 2 14:17:30 UTC 2008


Package: libxpp3-java
Version: 1.1.3.4.O-3
Severity: serious

The xpp3.jar file contains the QName class from JAXP. This breaks the
GroovyWS web service client, since it ends up loading the class into
two different classloaders (the bootstrap class loader of the JRE and
the Groovy class loader which has xpp3.jar on its classpath). This
leads to the following error:

Caught: java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of org/codehaus/groovy/tools/RootLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of <bootloader>) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type                             

Note: the QName.java file from the xpp3 sources has the following
comment at the top:

 "* NOTE: copied from Apache AXIS until QName is really standard in some JDK version ..."

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-melech (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libxpp3-java depends on:
ii  default-jre [java2-runtime]   1.5-30     Standard Java or Java compatible R
ii  jamvm [java1-runtime]         1.5.1-3    virtual machine which conforms to 
ii  java-gcj-compat [java2-runtim 1.0.78-2   Java runtime environment using GIJ
ii  openjdk-6-jre [java2-runtime] 6b11-7     OpenJDK Java runtime, using Hotspo
ii  sun-java6-jre [java2-runtime] 6-07-4     Sun Java(TM) Runtime Environment (

libxpp3-java recommends no packages.

libxpp3-java suggests no packages.

-- no debconf information





More information about the pkg-java-maintainers mailing list