Public bug reported:

Ubuntu release: 12.04
Package version: 2.11.0-4

When building a Java project with ant, the Xerces implementation from
this package is being used. However, it's been compiled with binary
compatibility set to 1.6, so an UnsupportedClassVersionError will be
thrown if we try to run ant with a 1.5 JDK.

When a project claims to be compatible with Java 1.5, it is necessary to
build it with a 1.5 JDK to make sure that no class or method that is new
in Java 1.6 is being used.

As indicated in the README file provided with the source code of Xerces
2.11, a JDK of version as low as 1.2 should be enough to build it.

It would be good if Xerces could be recompiled with binary compatibility
set to 1.5 or lower so that we can use it with older JDKs.

** Affects: libxerces2-java (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1012062

Title:
  UnsupportedClassVersionError when running with 1.5 JDK

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxerces2-java/+bug/1012062/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to