Re: java.lang.NegativeArraySizeException at

From: Kris Jurka <books(at)ejurka(dot)com>
To: Frederic Thomas <frederic(at)instranet(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: java.lang.NegativeArraySizeException at
Date: 2003-11-18 09:05:55
Message-ID: Pine.LNX.4.33.0311180352170.19207-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Tue, 18 Nov 2003, Frederic Thomas wrote:

> > In any case the driver shouldn't throw an Exception like that. Here's a
> > patch that fixes that.
> Glad to see that it wasn't a serious problem. Thanks a lot for the patch.
> However, is there a way to retrieve only the source code for the
> pg73jdbc2.jar driver, by opposition to the whole product source code?

You can retrieve just the 7.3 jdbc driver like so:

cvs -d :pserver:anoncvs(at)anoncvs(dot)postgresql(dot)org:/projects/cvsroot login

give anything but an empty string for a password and

cvs -d :pserver:anoncvs(at)anoncvs(dot)postgresql(dot)org:/projects/cvsroot co -r
REL7_3_STABLE server/src/interfaces/jdbc

but you won't be able to build it without hacking the Makefile (because it
wants to include a global Makefile that gets created by the main source
tree's configure process).

> An additional question: do you know if a new binary version of the 7.3
> driver will be available sometimes? I'd like to avoid compiling in a "non
> professional" way a driver that I will ship to my customers, and would
> prefer to rely on the "official" binary release of it.

I don't know if a new 7.3 binary will be released. Barry Lind is in
charge of that. Generally speaking fixes don't get backpatched to older
versions. With 7.4 being released yesterday I imagine fixes will only go
into cvs head and the 7.4 branch. On the other hand there has been talk
of putting out a 7.3.5 release and if that happens this fix should
probably go into that, but that's not my call.

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Frederic Thomas 2003-11-18 10:36:59 Re: java.lang.NegativeArraySizeException at org.postgresql.jdbc1.AbstractJdbc1Statement.setBinaryStream()
Previous Message Frederic Thomas 2003-11-18 08:45:44 Re: java.lang.NegativeArraySizeException at org.postgresql.jdbc1.AbstractJdbc1Statement.setBinaryStream()