agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] Java SE 6 support
4+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] Java SE 6 support
@ 2006-12-28 15:51  
  0 siblings, 1 reply; 4+ messages in thread

From:  @ 2006-12-28 15:51 UTC (permalink / raw)

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.





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* [Pljava-dev] Java SE 6 support
@ 2006-12-28 17:20  
  parent: 
  0 siblings, 2 replies; 4+ messages in thread

From:  @ 2006-12-28 17:20 UTC (permalink / raw)

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

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

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.





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* [Pljava-dev] Java SE 6 support
@ 2006-12-28 18:39  
  parent: 
  1 sibling, 0 replies; 4+ messages in thread

From:  @ 2006-12-28 18:39 UTC (permalink / raw)

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
> 






^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* [Pljava-dev] Java SE 6 support
@ 2007-01-02 07:26  
  parent: 
  1 sibling, 0 replies; 4+ messages in thread

From:  @ 2007-01-02 07:26 UTC (permalink / raw)

Thomas Hallgren wrote:
> Not without giving up support for 1.4. What's the status of GCJ and 1.5 today? Anyone knows?
> 
> Alternatively, we could branch off a specific branch for old stuff.
> 
Hello Thomas,
you have promised to build pljava binaries for postgresql 8.2, any 
chance to do it in near future ? What about support for java 6 ? I'm not 
able to upgrade my postgresql server until pljava will be ready for 8.2. 
Thanks in advance for an answer.

Regards,
ML

> 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.





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2007-01-02 07:26 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-12-28 15:51 [Pljava-dev] Java SE 6 support 
2006-12-28 17:20 ` 
2006-12-28 18:39   ` 
2007-01-02 07:26   ` 

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox