Re: [BUGS] Build problems for PostgreSQL v7.4 on FreeBSD v4.1

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: [BUGS] Build problems for PostgreSQL v7.4 on FreeBSD v4.1
Дата
Msg-id Pine.LNX.4.33.0311181942320.27907-200000@leary.csoft.net
обсуждение исходный текст
Список 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

Вложения

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: wsmeyer@ibest.com.br
Дата:
Сообщение: unsubscribe
Следующее
От: "Carlos Ho Shih Ning"
Дата:
Сообщение: Re: problem connecting from JDBC: is OVER !