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

Bug #1049769 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
erlang (Ubuntu)
Fix Released
High
James Page

Bug Description

During a recent rebuild test it was detected that erlang 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
James Page (james-page)
Changed in erlang (Ubuntu):
assignee: nobody → James Page (james-page)
status: New → In Progress
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package erlang - 1:15.b.1-dfsg-3ubuntu2

---------------
erlang (1:15.b.1-dfsg-3ubuntu2) quantal; urgency=low

  * Ensure backwards comaptible Java bytecode is built (LP: #1049769):
    - d/p/bytecode-compat.patch: Specify source/target = 1.5 when compiling
      Java source code.
 -- James Page <email address hidden> Thu, 20 Sep 2012 13:51:11 +0100

Changed in erlang (Ubuntu):
status: In Progress → 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.