glassfish version 2.1.1-b31g-1 failed to build with openjdk-7

Bug #888938 reported by James Page
6
This bug affects 1 person
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-framework

compile:

assemble:

build:

all:

init:
     [echo] Building component toplink-persistence

compile.persistence.antlr:

antlr-generate:
     [java] ANTLR Parser Generator Version 2.7.3 1989-2004 jGuru.com

compile:
    [javac] Compiling 405 source files to /«PKGBUILDDIR»/entity-persistence/build/classes
    [javac] /«PKGBUILDDIR»/entity-persistence/src/java/oracle/toplink/essentials/internal/ejb/cmp3/jdbc/base/DataSourceImpl.java:51: error: DataSourceImpl is not abstract and does not override abstract method getParentLogger() in CommonDataSource
    [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»/debian/build.xml:73: The following error occurred while executing this line:
/«PKGBUILDDIR»/entity-persistence/build.xml:137: Compile failed; see the compiler error output for details.

Total time: 19 seconds
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111110-2257

Finished
────────

E: Build failure (dpkg-buildpackage died)

Revision history for this message
James Page (james-page) wrote : Build log
tags: added: amd64 auto java7-ftbfs
James Page (james-page)
tags: added: api
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glassfish - 1:2.1.1-b31g-2ubuntu1

---------------
glassfish (1:2.1.1-b31g-2ubuntu1) quantal; urgency=low

  * Fix FTBFS with openjdk-7 as default-jdk (LP: #888938):
    - d/patches/java7-compat.patch: compatibility patch for compilation
      with Java 7 API's.
 -- James Page <email address hidden> Tue, 29 May 2012 13:35:41 +0100

Changed in glassfish (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

Bug attachments

Remote bug watches

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