You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/01/30 21:14:44 UTC

[Bug 121690] New: Build fails with Oracle Java7 (Java 7)

https://issues.apache.org/ooo/show_bug.cgi?id=121690

            Bug ID: 121690
        Issue Type: DEFECT
           Summary: Build fails with Oracle Java7 (Java 7)
    Classification: Code
           Product: tools
           Version: AOO 3.4.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: build.pl
          Assignee: issues@openoffice.apache.org
          Reporter: follinge@gmail.com
                CC: issues@openoffice.apache.org

Does not build with java7 from Oracle.

java version "1.7.0_12-ea"
Java(TM) SE Runtime Environment (build 1.7.0_12-ea-b08)
Java HotSpot(TM) Server VM (build 24.0-b28, mixed mode)

When I try to compile version:

build -- version: 275224

=============
Building module hsqldb
=============

Entering /mnt/lfs/sources/ubuntu/local_dev300/hsqldb

mkout -- version: 1.8
if [ -f ./unxlngi6.pro/misc/build/hsqldb ] ; then mv
./unxlngi6.pro/misc/build/hsqldb ./unxlngi6.pro/misc/build/hsqldb_removeme ; fi
make writeable...
patching file hsqldb/src/org/hsqldb/Expression.java
patching file hsqldb/src/org/hsqldb/persist/HsqlDatabaseProperties.java
patching file hsqldb/src/org/hsqldb/Library.java
patching file hsqldb/src/org/hsqldb/Table.java
patching file hsqldb/src/org/hsqldb/TableWorks.java
mkdir: cannot create directory `./unxlngi6.pro/misc/build/hsqldb/': File exists
Buildfile:
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/build/build.xml

init:

javaversion6:

javaversion4:

javaversion2:

-prepare:
    [mkdir] Created dir:
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/classes

codeswitcher:
    [javac]
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/build/build.xml:135:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1 source file to
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/classes
    [javac] Note:
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/util/CodeSwitcher.java
uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

switches:

switchtojdk14:

switchtojdk16:
     [java] ........................

store:
    [javac]
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/build/build.xml:291:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 6 source files to
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/classes

lib:
    [javac]
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/build/build.xml:302:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 40 source files to
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/classes
    [javac]
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcConnection.java:418:
error: jdbcConnection is not abstract and does not override abstract method
getNetworkTimeout() in Connection
    [javac] public class jdbcConnection implements Connection {
    [javac]        ^
    [javac]
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcResultSet.java:334:
error: jdbcResultSet is not abstract and does not override abstract method
<T>getObject(String,Class<T>) in ResultSet
    [javac] public class jdbcResultSet implements ResultSet {
    [javac]        ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in method
<T>getObject(String,Class<T>)
    [javac]
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcStatement.java:127:
error: jdbcStatement is not abstract and does not override abstract method
isCloseOnCompletion() in Statement
    [javac] public class jdbcStatement implements Statement {
    [javac]        ^
    [javac]
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcPreparedStatement.java:212:
error: jdbcPreparedStatement is not abstract and does not override abstract
method isCloseOnCompletion() in Statement
    [javac] public class jdbcPreparedStatement extends jdbcStatement
    [javac]        ^
    [javac]
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcCallableStatement.java:302:
error: jdbcCallableStatement is not abstract and does not override abstract
method <T>getObject(String,Class<T>) in CallableStatement
    [javac] public class jdbcCallableStatement extends jdbcPreparedStatement
    [javac]        ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in method
<T>getObject(String,Class<T>)
    [javac]
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/jdbc/jdbcDatabaseMetaData.java:283:
error: jdbcDatabaseMetaData is not abstract and does not override abstract
method generatedKeyAlwaysReturned() in DatabaseMetaData
    [javac] public class jdbcDatabaseMetaData implements DatabaseMetaData {
    [javac]        ^
    [javac] Note:
/mnt/lfs/sources/ubuntu/local_dev300/hsqldb/unxlngi6.pro/misc/build/hsqldb/src/org/hsqldb/lib/java/JavaSystem.java
uses or overrides 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] 6 errors

BUILD FAILED
/mnt/lfs/sources/ubu

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 121690] Make the build environment work with latest Java (Java 7)

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121690

Kay <ks...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
                 CC|                            |kschenk@apache.org
         Resolution|---                         |FIXED

--- Comment #4 from Kay <ks...@apache.org> ---
These build errors seem to be corrected by hsqldb patches applied by Andrea on
2013-07-09. My recent build on 2014-01-14 using openJDK 1.7.0_45 did not
produce these errors, so I am closing this out.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121690] Make the build environment work with latest Java (Java 7)

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121690

hanya <ha...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hanya.runo@gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 121690] Make the build environment work with latest Java (Java 7)

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121690

Andrea Pescetti <pe...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pescetti@apache.org
         Depends on|                            |121754

--- Comment #3 from Andrea Pescetti <pe...@apache.org> ---
Adding dependency on the (more specific) bug 121754; from the ooo-dev
discussion it actually seems we don't have other problems in building with Java
7, so this one can probably be closed too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121690] Build fails with Oracle Java7 (Java 7)

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121690

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arielch@apache.org

--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> ---
This is no bug, or in any case a request for enhancement: the build system does
not work with Java 7.

If your distro doesn't supply a JDK 6, install a JDK 6 from Oracle in /opt and
run configure with --with-jdk-home=PATH_TO_JDK_6

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 121690] Make the build environment work with latest Java (Java 7)

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121690

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
         Issue Type|DEFECT                      |ENHANCEMENT
            Summary|Build fails with Oracle     |Make the build environment
                   |Java7 (Java 7)              |work with latest Java (Java
                   |                            |7)
     Ever confirmed|0                           |1

--- Comment #2 from Ariel Constenla-Haile <ar...@apache.org> ---
Confirming
Setting issue type to enhancement (if someone takes it, change it to TASK).
Adapting subject

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.