pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike Fowler <mike@mlfowler.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Buildfarm error: Broken compatability with JDK 1.4
Date: Mon, 26 Sep 2011 15:17:02 +0100
Message-ID: <feed3e68481f43902390aa5c69e76cf1.squirrel@www.mlfowler.com> (raw)
In-Reply-To: <26d0d58c55ce17b5b8614b626f07fb4c.squirrel@www.mlfowler.com>
References: <10d990cb9ae2e157a6939fd8345a9f01.squirrel@www.mlfowler.com>
	<CADK3HHJgLQM0TAFrRggPxn_=U6Phnh4-Jb7Rc+xcOAswQz53Dg@mail.gmail.com>
	<4E80822B.7040407@nitorcreations.com>
	<CADK3HHL-1Z+-1E5nFouxf3Rr5+0sVqUen6k8D1wA0bsCEcjh5A@mail.gmail.com>
	<26d0d58c55ce17b5b8614b626f07fb4c.squirrel@www.mlfowler.com>

>
>> Did I miss something ? I did not see a patch from Mike.
>>
>> Dave Cramer
>>
>> dave.cramer(at)credativ(dot)ca
>> http://www.credativ.ca
>
> It might help if I attached the patch, apologies!
>


How embarrassing. I'm using an uncopertive web client. The attach button
is right next to the send button and I missed. The patch really is
attached this time :-/

-- 
Mike Fowler
Registered Linux user: 379787

The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT
flossuk DOT org for details.

Attachments:

jdk1.4.patch (application/octet-stream, 2.1K) download Index: org/postgresql/ds/common/PGObjectFactory.java =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/ds/common/PGObjectFactory.java,v retrieving revision 1.8 diff -c -r1.8 PGObjectFactory.java *** org/postgresql/ds/common/PGObjectFactory.java 22 Sep 2011 12:53:24 -0000 1.8 --- org/postgresql/ds/common/PGObjectFactory.java 26 Sep 2011 09:00:19 -0000 *************** *** 116,122 **** String binaryTransfer = getProperty(ref, "binaryTransfer"); if (binaryTransfer != null) ! ds.setBinaryTransfer(Boolean.parseBoolean(binaryTransfer)); return ds; } --- 116,122 ---- String binaryTransfer = getProperty(ref, "binaryTransfer"); if (binaryTransfer != null) ! ds.setBinaryTransfer(Boolean.getBoolean(binaryTransfer)); return ds; } Index: org/postgresql/jdbc2/AbstractJdbc2ResultSet.java =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java,v retrieving revision 1.113 diff -c -r1.113 AbstractJdbc2ResultSet.java *** org/postgresql/jdbc2/AbstractJdbc2ResultSet.java 22 Sep 2011 12:53:25 -0000 1.113 --- org/postgresql/jdbc2/AbstractJdbc2ResultSet.java 26 Sep 2011 09:00:19 -0000 *************** *** 3126,3132 **** PSQLState.DATA_TYPE_MISMATCH); } if (val < minVal || val > maxVal) { ! throw new PSQLException(GT.tr("Bad value for type {0} : {1}", new Object[]{targetType, Long.valueOf(val)}), PSQLState.NUMERIC_VALUE_OUT_OF_RANGE); } return val; --- 3126,3132 ---- PSQLState.DATA_TYPE_MISMATCH); } if (val < minVal || val > maxVal) { ! throw new PSQLException(GT.tr("Bad value for type {0} : {1}", new Object[]{targetType, new Long(val)}), PSQLState.NUMERIC_VALUE_OUT_OF_RANGE); } return val;

view thread (6+ messages)

Message-ID: <feed3e68481f43902390aa5c69e76cf1.squirrel@www.mlfowler.com>
Permalink:  ../feed3e68481f43902390aa5c69e76cf1.squirrel@www.mlfowler.com/
Also on:    postgresql.org/message-id/feed3e68481f43902390aa5c69e76cf1.squirrel@www.mlfowler.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: mike@mlfowler.com, pg@fastcrypt.com, mikko.tiihonen@nitorcreations.com
  Subject: Re: Buildfarm error: Broken compatability with JDK 1.4
  In-Reply-To: <feed3e68481f43902390aa5c69e76cf1.squirrel@www.mlfowler.com>
  References: <10d990cb9ae2e157a6939fd8345a9f01.squirrel@www.mlfowler.com> <CADK3HHJgLQM0TAFrRggPxn_=U6Phnh4-Jb7Rc+xcOAswQz53Dg@mail.gmail.com> <4E80822B.7040407@nitorcreations.com> <CADK3HHL-1Z+-1E5nFouxf3Rr5+0sVqUen6k8D1wA0bsCEcjh5A@mail.gmail.com> <26d0d58c55ce17b5b8614b626f07fb4c.squirrel@www.mlfowler.com> <feed3e68481f43902390aa5c69e76cf1.squirrel@www.mlfowler.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