libcommons-compress-java : incompatible-java-bytecode-format with OpenJDK 7 as default-jdk

Bug #1049689 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libcommons-compress-java (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

During a recent rebuild test it was detected that libcommons-compress-java builds Java bytecode
which is only compatible with Java >= 7.

The default-jdk in Ubuntu Quantal has been changed to OpenJDK 7 and all
packages that Build-Depend on default-jdk are being tested to ensure that
they produce bytecode which is backwards compatible with earlier versions
of Java.

https://wiki.ubuntu.com/JavaTeam/Java7Default contains more details on how
to resolve this issue and make sure that the Java bytecode built by this
package is compatible with earlier Java runtime environments.

Note that lintian in Ubuntu Quantal also contains a experimental check
which can detect this problem (incompatible-java-bytecode-format). Enable
this by using the -E flag when running lintian.

James Page (james-page)
tags: added: auto java7-bytecode quantal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libcommons-compress-java - 1.4.1-2ubuntu1

---------------
libcommons-compress-java (1.4.1-2ubuntu1) quantal; urgency=low

  * Ensure backwards compatible bytecode is built (LP: #1049689):
    - d/build.xml: Set target = 1.5 during compilation.
 -- James Page <email address hidden> Wed, 19 Sep 2012 16:03:20 +0100

Changed in libcommons-compress-java (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.