[Pljava-dev] Java SE 6 support

Peter Henderson peter.henderson at starjar.com
Thu Dec 28 18:39:13 UTC 2006


Thomas Hallgren wrote:
> Not without giving up support for 1.4. What's the status of GCJ and 1.5 today? Anyone knows?

I think with the announcement that Java 7 (aka OpenJDK aka 1.7) being 
available under the GPL, GCJ usage will probably decline (but I don't 
have a crystal ball!)

> 
> Alternatively, we could branch off a specific branch for old stuff.

Maybe this is the best route, in the future have a release for each 
major version of Java.
Or maybe for each revision of JDBC, I think Java 6 includes JDBC 4.

Cheers
Peter Henderson.


> 
> Kind Regards,
> Thomas Hallgren
> 
> 
> Peter Henderson wrote:
>> Hi List.
>>
>> I've just tried to compile pljava with Sun's Java SE 6.
>> Not a pretty sight.
>>
>> Seems there are a number of extra methods in JDBC Connection,Statement 
>> APIs which need coding.
>>
>> Has anyone already made any progress with this yet?
>>
>> I am wondering if it is even possible to support Java 6 and remain 
>> backwards compatible, as the latest API has functions which use generics.
>>
>> <T> T unwrap(Class<T> iface)
>>
>> No idea if it's possible to support this for older Java versions.
>>
>>
>>
>> Cheers
>>
>>
>> Peter Henderson.
> 
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
> 





More information about the Pljava-dev mailing list