pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeremy Whiting <jwhiting@redhat.com>
To: List <pgsql-jdbc@postgresql.org>
Subject: Master branch compile error using 1.5 spec.
Date: Wed, 22 Jan 2014 11:04:48 +0000
Message-ID: <52DFA5D0.7000901@redhat.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Hi,
 Just to report I am getting a compile error on master branch. Using
this combination of command line arguments.

$ ant -Djava.specification.version=1.5 clean compile
....
[javac] 18 errors
[javac] 1 warning

 The full list of compilation errors are in the attached file.

 Shall I create an issue on GitHub to track this ?

Regards,
Jeremy


$ java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (fedora-2.4.4.0.fc19-x86_64 u51-b02)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
$ ant -version
Apache Ant(TM) version 1.9.2 compiled on July 8 2013
$ uname -a
Linux f19lite 3.12.8-200.fc19.x86_64 #1 SMP Thu Jan 16 04:18:11 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux

-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

Attachments:

pg-jdbc-master-1-5-compile-errors.txt (text/plain, 10.2K) download Buildfile: /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/build.xml clean: [delete] Deleting directory /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/build [delete] Deleting directory /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/jars [delete] Deleting: /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/Driver.java [delete] Deleting: /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ds/PGPoolingDataSource.java [delete] Deleting: /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ds/PGSimpleDataSource.java [delete] Deleting: /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ds/PGPooledConnection.java [delete] Deleting: /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ds/PGConnectionPoolDataSource.java [delete] Deleting: /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/xa/PGXADataSource.java [delete] Deleting: /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ssl/MakeSSL.java prepare: [mkdir] Created dir: /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/build [mkdir] Created dir: /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/jars check_versions: check_driver: driver: [copy] Copying 1 file to /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql [copy] Copying 1 file to /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ds [copy] Copying 1 file to /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ds [copy] Copying 1 file to /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ds [copy] Copying 1 file to /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ds [copy] Copying 1 file to /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/xa [copy] Copying 1 file to /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ssl [echo] Configured build for the JDBC3g edition driver. compile: [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/build.xml:127: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 158 source files to /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/build [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5 [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/Driver.java:752: error: getParentLogger() in org.postgresql.Driver cannot implement getParentLogger() in java.sql.Driver [javac] public java.util.logging.Logger getParentLogger() throws java.sql.SQLException [javac] ^ [javac] overridden method does not throw SQLException [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ds/PGConnectionPoolDataSource.java:31: error: PGConnectionPoolDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource [javac] public class PGConnectionPoolDataSource [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ds/PGPooledConnection.java:24: error: PGPooledConnection is not abstract and does not override abstract method removeStatementEventListener(StatementEventListener) in PooledConnection [javac] public class PGPooledConnection [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ds/PGPoolingDataSource.java:40: error: PGPoolingDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource [javac] public class PGPoolingDataSource [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/ds/PGSimpleDataSource.java:20: error: PGSimpleDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource [javac] public class PGSimpleDataSource [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/jdbc3g/Jdbc3gArray.java:15: error: Jdbc3gArray is not abstract and does not override abstract method free() in Array [javac] public class Jdbc3gArray extends org.postgresql.jdbc2.AbstractJdbc2Array implements java.sql.Array [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/jdbc3g/Jdbc3gBlob.java:13: error: Jdbc3gBlob is not abstract and does not override abstract method getBinaryStream(long,long) in Blob [javac] public class Jdbc3gBlob extends org.postgresql.jdbc3.AbstractJdbc3Blob implements java.sql.Blob [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/jdbc3g/Jdbc3gStatement.java:19: error: Jdbc3gStatement is not abstract and does not override abstract method isCloseOnCompletion() in Statement [javac] class Jdbc3gStatement extends org.postgresql.jdbc3g.AbstractJdbc3gStatement implements Statement [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/jdbc3g/Jdbc3gPreparedStatement.java:12: error: Jdbc3gPreparedStatement is not abstract and does not override abstract method setNClob(int,Reader) in PreparedStatement [javac] class Jdbc3gPreparedStatement extends Jdbc3gStatement implements PreparedStatement [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/jdbc3g/Jdbc3gCallableStatement.java:13: error: Jdbc3gCallableStatement is not abstract and does not override abstract method <T>getObject(String,Class<T>) in CallableStatement [javac] class Jdbc3gCallableStatement extends Jdbc3gPreparedStatement implements CallableStatement [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in method <T>getObject(String,Class<T>) [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/jdbc3g/Jdbc3gConnection.java:21: error: Jdbc3gConnection is not abstract and does not override abstract method getNetworkTimeout() in Connection [javac] public class Jdbc3gConnection extends org.postgresql.jdbc3g.AbstractJdbc3gConnection implements java.sql.Connection [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/jdbc3g/Jdbc3gClob.java:11: error: Jdbc3gClob is not abstract and does not override abstract method getCharacterStream(long,long) in Clob [javac] public class Jdbc3gClob extends org.postgresql.jdbc3.AbstractJdbc3Clob implements java.sql.Clob [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/jdbc3g/Jdbc3gDatabaseMetaData.java:11: error: Jdbc3gDatabaseMetaData is not abstract and does not override abstract method generatedKeyAlwaysReturned() in DatabaseMetaData [javac] public class Jdbc3gDatabaseMetaData extends org.postgresql.jdbc3.AbstractJdbc3DatabaseMetaData implements java.sql.DatabaseMetaData [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/jdbc3g/Jdbc3gParameterMetaData.java:13: error: Jdbc3gParameterMetaData is not abstract and does not override abstract method isWrapperFor(Class<?>) in Wrapper [javac] public class Jdbc3gParameterMetaData extends org.postgresql.jdbc3.AbstractJdbc3ParameterMetaData implements ParameterMetaData { [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/jdbc3g/Jdbc3gResultSet.java:21: error: Jdbc3gResultSet is not abstract and does not override abstract method <T>getObject(String,Class<T>) in ResultSet [javac] public class Jdbc3gResultSet extends org.postgresql.jdbc3g.AbstractJdbc3gResultSet implements java.sql.ResultSet [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in method <T>getObject(String,Class<T>) [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/jdbc3g/Jdbc3gResultSetMetaData.java:12: error: Jdbc3gResultSetMetaData is not abstract and does not override abstract method isWrapperFor(Class<?>) in Wrapper [javac] public class Jdbc3gResultSetMetaData extends org.postgresql.jdbc2.AbstractJdbc2ResultSetMetaData implements java.sql.ResultSetMetaData [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/xa/PGXAConnection.java:37: error: PGXAConnection is not abstract and does not override abstract method removeStatementEventListener(StatementEventListener) in PooledConnection [javac] public class PGXAConnection extends PGPooledConnection implements XAConnection, XAResource [javac] ^ [javac] /run/media/whitingjr/theark/work/redhat/java/postgres/v9.2/forked-pgjdbc/pgjdbc/org/postgresql/xa/PGXADataSource.java:10: error: PGXADataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource [javac] public class PGXADataSource [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] 18 errors [javac] 1 warning

view thread (8+ messages)  latest in thread

Message-ID: <52DFA5D0.7000901@redhat.com>
Permalink:  ../52DFA5D0.7000901@redhat.com/
Also on:    postgresql.org/message-id/52DFA5D0.7000901@redhat.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: jwhiting@redhat.com
  Subject: Re: Master branch compile error using 1.5 spec.
  In-Reply-To: <52DFA5D0.7000901@redhat.com>
  References: <52DFA5D0.7000901@redhat.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox