Re: Pl/java in 8.4 bet1 sources compilation failed

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Pl/java in 8.4 bet1 sources compilation failed
Дата
Msg-id 4A20A788.2050408@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: Pl/java in 8.4 bet1 sources compilation failed  (Kris Jurka <books@ejurka.com>)
Ответы Re: Pl/java in 8.4 bet1 sources compilation failed  (Kris Jurka <books@ejurka.com>)
Список pgsql-general
Kris Jurka wrote:
> Grzegorz Jaśkiewicz wrote:
>> On Fri, May 29, 2009 at 1:19 AM, Kris Jurka <books@ejurka.com> wrote:
>>
>>> To build against 8.4 you need pljava from CVS.  Also pljava can only be
>>> built with the 1.4 or 1.5 JDK, not with the 1.6 version you are using.
>>
>> is it a lot of work to make it 1.6 friendly ?
>> can I help?
>>
>
> It depends how it's done.  It would be easy to make pljava require 1.6
> and just add stubs that throw unimplemented exceptions for the new
> methods.  Building against both 1.4/1.5 (JDBC 3) and 1.6 (JDBC 4) would
> require a more complicated conditional compilation system like that
> provided with the standard JDBC driver.

Perhaps a stupid question, but isn't the `-source' parameter to javac
intended to mask new features and such for just the purpose of compiling
older sources on a new JDK?

--
Craig Ringer

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: modo texto
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Pl/java in 8.4 bet1 sources compilation failed