From: | Kris Jurka <books(at)ejurka(dot)com> |
---|---|
To: | Richard Scranton <scrantr(at)ix(dot)netcom(dot)com> |
Cc: | <pgsql-bugs(at)postgresql(dot)org>, <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Build problems for PostgreSQL v7.4 on FreeBSD v4.1 |
Date: | 2003-11-19 00:45:37 |
Message-ID: | Pine.LNX.4.33.0311181942320.27907-200000@leary.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-jdbc |
On Tue, 18 Nov 2003, Richard Scranton wrote:
> In file
> postgresql-7.4/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java,
> the JDBC version 1 driver cannot be built with JDK v1.1.8 because that
> version of the Double class does not include a static parseDouble(String)
> method, which first appeared in JDK 1.2. The driver will compile if
> line 836 is
> modified as below.
>
> // XXX if (Double.parseDouble(s)==1)
> if (Double.valueOf(s).doubleValue()==1)
>
Here's a patch for the fix you describe. Not that a one liner needs one,
but less work for the committers as well as getting it to the JDBC list.
Kris Jurka
Attachment | Content-Type | Size |
---|---|---|
jdk11.patch | text/plain | 965 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Troels Arvin | 2003-11-19 02:55:09 | 7.4: CHAR padding inconsistency |
Previous Message | Sergey N. Yatskevich | 2003-11-18 23:07:43 | Bug in byteaout code in all PostgreSQL versions |
From | Date | Subject | |
---|---|---|---|
Next Message | ritchie turner | 2003-11-19 10:13:51 | Re: COPY support |
Previous Message | wsmeyer | 2003-11-18 22:33:02 | unsubscribe |