Re: Pl/java in 8.4 bet1 sources compilation failed

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Pl/java in 8.4 bet1 sources compilation failed
Дата
Msg-id 4A227F8F.2020407@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: Pl/java in 8.4 bet1 sources compilation failed  (Kris Jurka <books@ejurka.com>)
Список 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

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

Предыдущее
От: Wojtek
Дата:
Сообщение: PG_Bulkloader (or other tools) and partitions
Следующее
От: Andrew Smith
Дата:
Сообщение: newbie table design question