Skip site navigation (1) Skip section navigation (2)

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-31 13:01:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Kris Jurka wrote:
> Craig Ringer wrote:
>> 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?
> The -source argument only controls language features, not
> interface/class definitions. [snip]

Ah. Thanks for that very enlightening and helpful explanation - I really
appreciate your taking the time.

It's interesting that the JDK presents these issues to driver
developers, but I see how there's no easy way around it given that Java
offers no way to declare default implementations of methods in
interfaces (iow: no multiple inheritance) so the JDBC interfaces can't
provide stubs.

Argh, if only Java had scope-based object lifetime with prompt
finalization (think C++ "stack-based" objects) and multiple inheritance...

Craig Ringer

In response to

pgsql-general by date

Next:From: Andrew SmithDate: 2009-05-31 15:54:09
Subject: newbie table design question
Previous:From: Nikhil SontakkeDate: 2009-05-31 07:37:20
Subject: Re: ruby connect

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group