glassfish version 2.1.1-b31g-1 failed to build with openjdk-7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glassfish (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
During a rebuild test on precise with default-jdk switched to openjdk-7, a build failure was detected for glassfish version 2.1.1-b31g-1.
See attached log for full build failure details.
This log snippet might also be of interest:
init:
[echo] Building component common-util
assemble:
all:
init:
[echo] Building component annotation-
compile:
assemble:
build:
all:
init:
[echo] Building component toplink-persistence
compile.
antlr-generate:
[java] ANTLR Parser Generator Version 2.7.3 1989-2004 jGuru.com
compile:
[javac] Compiling 405 source files to /«PKGBUILDDIR»
[javac] /«PKGBUILDDIR»
[javac] public class DataSourceImpl implements DataSource {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
BUILD FAILED
/«PKGBUILDDIR»
/«PKGBUILDDIR»
Total time: 19 seconds
make: *** [debian/
dpkg-buildpackage: error: debian/rules build gave error exit status 2
───────
Build finished at 20111110-2257
Finished
────────
E: Build failure (dpkg-buildpackage died)
This bug was fixed in the package glassfish - 1:2.1.1- b31g-2ubuntu1
--------------- 1-b31g- 2ubuntu1) quantal; urgency=low
glassfish (1:2.1.
* Fix FTBFS with openjdk-7 as default-jdk (LP: #888938): java7-compat. patch: compatibility patch for compilation
- d/patches/
with Java 7 API's.
-- James Page <email address hidden> Tue, 29 May 2012 13:35:41 +0100