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