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

Bug #1049807 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
setools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

During a recent rebuild test it was detected that setools 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.

Related branches

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 setools - 3.3.8-2

---------------
setools (3.3.8-2) unstable; urgency=low

  * Team upload.
  * Split GUI tools in their own package (LP: #598025)
  * debian/control: Move libsetools-jni to the java Section
  * debian/rules: Pass --as-needed to the linker and call dh_autoreconf with
    --as-needed to minimize the runtime dependencies
  * debian/control: Bump Standards-Version to 3.9.4 (no further changes)
  * debian/control: Use the canonical URL for the VCS-Git field
  * debian/rules: Supply --with-javac-flags to ensure java source/target is
    set to 1.5. (LP: #1049807)
  * debian/patches/fix-javacflags.patch: Use JAVACFLAGS instead of JAVAFLAGS

 -- Laurent Bigonville <email address hidden> Sat, 07 Dec 2013 18:41:15 +0100

Changed in setools (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.