pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Master branch compile error using 1.5 spec.
8+ messages / 3 participants
[nested] [flat]

* Master branch compile error using 1.5 spec.
@ 2014-01-22 11:04 Jeremy Whiting <jwhiting@redhat.com>
  2014-01-24 15:38 ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
  0 siblings, 1 reply; 8+ messages in thread

From: Jeremy Whiting @ 2014-01-22 11:04 UTC (permalink / raw)
  To: pgsql-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
^ permalink raw reply [nested|flat] 8+ messages in thread

* Re: Master branch compile error using 1.5 spec.
  2014-01-22 11:04 Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
@ 2014-01-24 15:38 ` Dave Cramer <pg@fastcrypt.com>
  2014-01-24 22:43   ` Re: Master branch compile error using 1.5 spec. Gavin Flower <GavinFlower@archidevsys.co.nz>
  2014-01-30 17:13   ` Re: Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  0 siblings, 2 replies; 8+ messages in thread

From: Dave Cramer @ 2014-01-24 15:38 UTC (permalink / raw)
  To: Jeremy Whiting <jwhiting@redhat.com>; +Cc: pgsql-jdbc

Jeremy,

I think you actually need to use a 1.5 jvm to get this to compile. I have a
machine that does this and there is one error which is easily fixable.
ResultSet.isClosed does not exist in 1.5



Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Wed, Jan 22, 2014 at 6:04 AM, Jeremy Whiting <jwhiting@redhat.com> wrote:

> 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
>
>

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Master branch compile error using 1.5 spec.
  2014-01-22 11:04 Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  2014-01-24 15:38 ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
@ 2014-01-24 22:43   ` Gavin Flower <GavinFlower@archidevsys.co.nz>
  1 sibling, 0 replies; 8+ messages in thread

From: Gavin Flower @ 2014-01-24 22:43 UTC (permalink / raw)
  To: Dave Cramer <pg@fastcrypt.com>; Jeremy Whiting <jwhiting@redhat.com>; +Cc: pgsql-jdbc

On 25/01/14 04:38, Dave Cramer wrote:
> Jeremy,
>
> I think you actually need to use a 1.5 jvm to get this to compile. I 
> have a machine that does this and there is one error which is easily 
> fixable. ResultSet.isClosed does not exist in 1.5
>
>
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Wed, Jan 22, 2014 at 6:04 AM, Jeremy Whiting <jwhiting@redhat.com 
> <mailto:jwhiting@redhat.com>> wrote:
>
>     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
>     <mailto:pgsql-jdbc@postgresql.org>)
>     To make changes to your subscription:
>     http://www.postgresql.org/mailpref/pgsql-jdbc
>
>
Surely no one should still be using JDK1.5 now!  Especially as JDK1.8 is 
due to be released in mid March and will be very much more secure than 
any previous release.  I suspect that people still using JDK1.5 are at 
risk from security problems fixed in JDK1.6 & JDK1.7.

I think that people still using JDK1.5 (including a client of mine) 
should be strongly encouraged to upgrade!


Cheers,
Gavin

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Master branch compile error using 1.5 spec.
  2014-01-22 11:04 Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  2014-01-24 15:38 ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
@ 2014-01-30 17:13   ` Jeremy Whiting <jwhiting@redhat.com>
  2014-01-30 17:19     ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
  1 sibling, 1 reply; 8+ messages in thread

From: Jeremy Whiting @ 2014-01-30 17:13 UTC (permalink / raw)
  To: pgsql-jdbc

Hi Dave,
 I pulled in your fix for the 1.5 error. I must be using the wrong
command line params as I still see 18 errors. This is now using a 1.5
JDK (build 1.5.0_22-b03). How are you executing the tests ?

Regards,
Jeremy

On 24/01/14 15:38, Dave Cramer wrote:
> Jeremy,
>
> I think you actually need to use a 1.5 jvm to get this to compile. I
> have a machine that does this and there is one error which is easily
> fixable. ResultSet.isClosed does not exist in 1.5
>
>
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Wed, Jan 22, 2014 at 6:04 AM, Jeremy Whiting <jwhiting@redhat.com
> <mailto:jwhiting@redhat.com>> wrote:
>
>     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
>     <mailto:pgsql-jdbc@postgresql.org>)
>     To make changes to your subscription:
>     http://www.postgresql.org/mailpref/pgsql-jdbc
>
>

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Master branch compile error using 1.5 spec.
  2014-01-22 11:04 Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  2014-01-24 15:38 ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
  2014-01-30 17:13   ` Re: Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
@ 2014-01-30 17:19     ` Dave Cramer <pg@fastcrypt.com>
  2014-01-31 12:15       ` Re: Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  0 siblings, 1 reply; 8+ messages in thread

From: Dave Cramer @ 2014-01-30 17:19 UTC (permalink / raw)
  To: Jeremy Whiting <jwhiting@redhat.com>; +Cc: pgsql-jdbc

Jeremy,

I think you have to actually use a 1.5 jdk as opposed to just specifying
the version on the ant command

Dave

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Thu, Jan 30, 2014 at 12:13 PM, Jeremy Whiting <jwhiting@redhat.com>wrote:

>  Hi Dave,
>  I pulled in your fix for the 1.5 error. I must be using the wrong command
> line params as I still see 18 errors. This is now using a 1.5 JDK (build
> 1.5.0_22-b03). How are you executing the tests ?
>
> Regards,
> Jeremy
>
>
> On 24/01/14 15:38, Dave Cramer wrote:
>
> Jeremy,
>
>  I think you actually need to use a 1.5 jvm to get this to compile. I
> have a machine that does this and there is one error which is easily
> fixable. ResultSet.isClosed does not exist in 1.5
>
>
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Wed, Jan 22, 2014 at 6:04 AM, Jeremy Whiting <jwhiting@redhat.com>wrote:
>
>> 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
>>
>>
>
>

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Master branch compile error using 1.5 spec.
  2014-01-22 11:04 Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  2014-01-24 15:38 ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
  2014-01-30 17:13   ` Re: Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  2014-01-30 17:19     ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
@ 2014-01-31 12:15       ` Jeremy Whiting <jwhiting@redhat.com>
  2014-01-31 13:28         ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
  0 siblings, 1 reply; 8+ messages in thread

From: Jeremy Whiting @ 2014-01-31 12:15 UTC (permalink / raw)
  To: Dave Cramer <pg@fastcrypt.com>; +Cc: pgsql-jdbc

Dave,
 Yes, using one of those.

$ java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)

Jeremy

On 30/01/14 17:19, Dave Cramer wrote:
> Jeremy,
>
> I think you have to actually use a 1.5 jdk as opposed to just
> specifying the version on the ant command
>
> Dave
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Thu, Jan 30, 2014 at 12:13 PM, Jeremy Whiting <jwhiting@redhat.com
> <mailto:jwhiting@redhat.com>> wrote:
>
>     Hi Dave,
>      I pulled in your fix for the 1.5 error. I must be using the wrong
>     command line params as I still see 18 errors. This is now using a
>     1.5 JDK (build 1.5.0_22-b03). How are you executing the tests ?
>
>     Regards,
>     Jeremy
>
>
>     On 24/01/14 15:38, Dave Cramer wrote:
>>     Jeremy,
>>
>>     I think you actually need to use a 1.5 jvm to get this to
>>     compile. I have a machine that does this and there is one error
>>     which is easily fixable. ResultSet.isClosed does not exist in 1.5
>>
>>
>>
>>     Dave Cramer
>>
>>     dave.cramer(at)credativ(dot)ca
>>     http://www.credativ.ca
>>
>>
>>     On Wed, Jan 22, 2014 at 6:04 AM, Jeremy Whiting
>>     <jwhiting@redhat.com <mailto:jwhiting@redhat.com>> wrote:
>>
>>         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
>>         <mailto:pgsql-jdbc@postgresql.org>)
>>         To make changes to your subscription:
>>         http://www.postgresql.org/mailpref/pgsql-jdbc
>>
>>
>
>

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Master branch compile error using 1.5 spec.
  2014-01-22 11:04 Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  2014-01-24 15:38 ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
  2014-01-30 17:13   ` Re: Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  2014-01-30 17:19     ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
  2014-01-31 12:15       ` Re: Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
@ 2014-01-31 13:28         ` Dave Cramer <pg@fastcrypt.com>
  2014-02-03 14:15           ` Re: Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  0 siblings, 1 reply; 8+ messages in thread

From: Dave Cramer @ 2014-01-31 13:28 UTC (permalink / raw)
  To: Jeremy Whiting <jwhiting@redhat.com>; +Cc: pgsql-jdbc

Hmmm that's very odd.

I'll check my build environment again

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Fri, Jan 31, 2014 at 7:15 AM, Jeremy Whiting <jwhiting@redhat.com> wrote:

>  Dave,
>  Yes, using one of those.
>
> $ java -version
> java version "1.5.0_22"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)
>
> Jeremy
>
>
> On 30/01/14 17:19, Dave Cramer wrote:
>
> Jeremy,
>
>  I think you have to actually use a 1.5 jdk as opposed to just specifying
> the version on the ant command
>
>  Dave
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Thu, Jan 30, 2014 at 12:13 PM, Jeremy Whiting <jwhiting@redhat.com>wrote:
>
>>  Hi Dave,
>>  I pulled in your fix for the 1.5 error. I must be using the wrong
>> command line params as I still see 18 errors. This is now using a 1.5 JDK
>> (build 1.5.0_22-b03). How are you executing the tests ?
>>
>> Regards,
>> Jeremy
>>
>>
>> On 24/01/14 15:38, Dave Cramer wrote:
>>
>> Jeremy,
>>
>>  I think you actually need to use a 1.5 jvm to get this to compile. I
>> have a machine that does this and there is one error which is easily
>> fixable. ResultSet.isClosed does not exist in 1.5
>>
>>
>>
>> Dave Cramer
>>
>> dave.cramer(at)credativ(dot)ca
>> http://www.credativ.ca
>>
>>
>> On Wed, Jan 22, 2014 at 6:04 AM, Jeremy Whiting <jwhiting@redhat.com>wrote:
>>
>>> 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
>>>
>>>
>>
>>
>
>

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Master branch compile error using 1.5 spec.
  2014-01-22 11:04 Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  2014-01-24 15:38 ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
  2014-01-30 17:13   ` Re: Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  2014-01-30 17:19     ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
  2014-01-31 12:15       ` Re: Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
  2014-01-31 13:28         ` Re: Master branch compile error using 1.5 spec. Dave Cramer <pg@fastcrypt.com>
@ 2014-02-03 14:15           ` Jeremy Whiting <jwhiting@redhat.com>
  0 siblings, 0 replies; 8+ messages in thread

From: Jeremy Whiting @ 2014-02-03 14:15 UTC (permalink / raw)
  To: Dave Cramer <pg@fastcrypt.com>; +Cc: pgsql-jdbc

Hi Dave,
 Sorry, my mistake, JAVA_HOME was not correctly set.

 All the compile errors I saw have been fixed by your PR.

Jeremy

On 31/01/14 13:28, Dave Cramer wrote:
> Hmmm that's very odd. 
>
> I'll check my build environment again
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Fri, Jan 31, 2014 at 7:15 AM, Jeremy Whiting <jwhiting@redhat.com
> <mailto:jwhiting@redhat.com>> wrote:
>
>     Dave,
>      Yes, using one of those.
>
>     $ java -version
>     java version "1.5.0_22"
>     Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
>     Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)
>
>     Jeremy
>
>
>     On 30/01/14 17:19, Dave Cramer wrote:
>>     Jeremy,
>>
>>     I think you have to actually use a 1.5 jdk as opposed to just
>>     specifying the version on the ant command
>>
>>     Dave
>>
>>     Dave Cramer
>>
>>     dave.cramer(at)credativ(dot)ca
>>     http://www.credativ.ca
>>
>>
>>     On Thu, Jan 30, 2014 at 12:13 PM, Jeremy Whiting
>>     <jwhiting@redhat.com <mailto:jwhiting@redhat.com>> wrote:
>>
>>         Hi Dave,
>>          I pulled in your fix for the 1.5 error. I must be using the
>>         wrong command line params as I still see 18 errors. This is
>>         now using a 1.5 JDK (build 1.5.0_22-b03). How are you
>>         executing the tests ?
>>
>>         Regards,
>>         Jeremy
>>
>>
>>         On 24/01/14 15:38, Dave Cramer wrote:
>>>         Jeremy,
>>>
>>>         I think you actually need to use a 1.5 jvm to get this to
>>>         compile. I have a machine that does this and there is one
>>>         error which is easily fixable. ResultSet.isClosed does not
>>>         exist in 1.5
>>>
>>>
>>>
>>>         Dave Cramer
>>>
>>>         dave.cramer(at)credativ(dot)ca
>>>         http://www.credativ.ca
>>>
>>>
>>>         On Wed, Jan 22, 2014 at 6:04 AM, Jeremy Whiting
>>>         <jwhiting@redhat.com <mailto:jwhiting@redhat.com>> wrote:
>>>
>>>             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
>>>             <mailto:pgsql-jdbc@postgresql.org>)
>>>             To make changes to your subscription:
>>>             http://www.postgresql.org/mailpref/pgsql-jdbc
>>>
>>>
>>
>>
>
>

^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2014-02-03 14:15 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-01-22 11:04 Master branch compile error using 1.5 spec. Jeremy Whiting <jwhiting@redhat.com>
2014-01-24 15:38 ` Dave Cramer <pg@fastcrypt.com>
2014-01-24 22:43   ` Gavin Flower <GavinFlower@archidevsys.co.nz>
2014-01-30 17:13   ` Jeremy Whiting <jwhiting@redhat.com>
2014-01-30 17:19     ` Dave Cramer <pg@fastcrypt.com>
2014-01-31 12:15       ` Jeremy Whiting <jwhiting@redhat.com>
2014-01-31 13:28         ` Dave Cramer <pg@fastcrypt.com>
2014-02-03 14:15           ` Jeremy Whiting <jwhiting@redhat.com>

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