Re: Pl/java in 8.4 bet1 sources compilation failed

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>, Emanuel Calvo Franco <postgres(dot)arg(at)gmail(dot)com>, postgresql Forums <pgsql-general(at)postgresql(dot)org>
Subject: Re: Pl/java in 8.4 bet1 sources compilation failed
Date: 2009-05-30 03:27:04
Message-ID: 4A20A788.2050408@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kris Jurka wrote:
> Grzegorz Jaśkiewicz wrote:
>> On Fri, May 29, 2009 at 1:19 AM, Kris Jurka <books(at)ejurka(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kris Jurka 2009-05-30 05:22:45 Re: Pl/java in 8.4 bet1 sources compilation failed
Previous Message Craig Ringer 2009-05-30 03:09:09 Re: modo texto