db5.3 : incompatible-java-bytecode-format with OpenJDK 7 as default-jdk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
db5.3 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
During a recent rebuild test it was detected that db5.3 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:/
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-
this by using the -E flag when running lintian.
Related branches
tags: | added: auto java7-bytecode quantal |
This bug was fixed in the package db5.3 - 5.3.15-4ubuntu1
---------------
db5.3 (5.3.15-4ubuntu1) quantal; urgency=low
* Ensure backwards compatible Java bytecode is built (LP: #1049766): auto_configure.
- d/rules: Specify JAVACFLAGS (source/target = 1.5) and pass to
dh_
-- James Page <email address hidden> Wed, 19 Sep 2012 19:34:00 +0100