Re: Pl/java in 8.4 bet1 sources compilation failed - Mailing list pgsql-general

From Craig Ringer
Subject Re: Pl/java in 8.4 bet1 sources compilation failed
Date
Msg-id 4A20A788.2050408@postnewspapers.com.au
Whole thread Raw
In response to Re: Pl/java in 8.4 bet1 sources compilation failed  (Kris Jurka <books@ejurka.com>)
Responses Re: Pl/java in 8.4 bet1 sources compilation failed
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Re: modo texto
Next
From: Kris Jurka
Date:
Subject: Re: Pl/java in 8.4 bet1 sources compilation failed