Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5vcE-0008Ef-SD for pgsql-jdbc@arkaria.postgresql.org; Wed, 22 Jan 2014 11:05:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W5vcE-0007gV-4h for pgsql-jdbc@arkaria.postgresql.org; Wed, 22 Jan 2014 11:05:02 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5vcC-0007gK-1N for pgsql-jdbc@postgresql.org; Wed, 22 Jan 2014 11:05:00 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5vc3-0005ti-Db for pgsql-jdbc@postgresql.org; Wed, 22 Jan 2014 11:04:58 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s0MB4oQB022859 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 22 Jan 2014 06:04:50 -0500 Received: from [10.36.116.56] (ovpn-116-56.ams2.redhat.com [10.36.116.56]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s0MB4n8w026267 for ; Wed, 22 Jan 2014 06:04:49 -0500 Message-ID: <52DFA5D0.7000901@redhat.com> Date: Wed, 22 Jan 2014 11:04:48 +0000 From: Jeremy Whiting User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: List Subject: Master branch compile error using 1.5 spec. X-Enigmail-Version: 1.6 Content-Type: multipart/mixed; boundary="------------020101020903020707070400" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Pg-Spam-Score: -7.5 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org This is a multi-part message in MIME format. --------------020101020903020707070400 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------020101020903020707070400 Content-Type: text/plain; charset=UTF-8; name="pg-jdbc-master-1-5-compile-errors.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="pg-jdbc-master-1-5-compile-errors.txt" 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 getObject(String,Class) in CallableStatement [javac] class Jdbc3gCallableStatement extends Jdbc3gPreparedStatement implements CallableStatement [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in method getObject(String,Class) [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 getObject(String,Class) 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 getObject(String,Class) [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 --------------020101020903020707070400 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc --------------020101020903020707070400--