Lists: | pljava-dev |
---|
From: | pmichalek at click(dot)cz ( Petr Michálek ) |
---|---|
To: | |
Subject: | [Pljava-dev] Simple patch for java 1.6 compatibility |
Date: | 2010-05-17 16:57:48 |
Message-ID: | 4BF1758C.7060901@click.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pljava-dev |
Hello,
I'm sending patch that adds support for java 1.6.
New JDBC4(java 1.6) API simple throws exception NotSupoprtedOperation.
(patch -R -p2 <./pljava.diff)
Regards
Petr Michalek
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pljava_1_4_0__java_1_6.diff
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20100517/1c9aa843/attachment.ksh>
From: | books at ejurka(dot)com (Kris Jurka) |
---|---|
To: | |
Subject: | [Pljava-dev] Simple patch for java 1.6 compatibility |
Date: | 2010-05-17 17:37:47 |
Message-ID: | 4BF17EEB.9060307@ejurka.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pljava-dev |
On 5/17/2010 9:57 AM, Petr Mich?lek wrote:
> Hello,
>
> I'm sending patch that adds support for java 1.6.
>
> New JDBC4(java 1.6) API simple throws exception NotSupoprtedOperation.
>
This diff is unreadable. It seems like a diff between 1.4.0 and current
CVS with a ton of changes from tabs to spaces. We need a diff from
current CVS that doesn't have irrelevant whitespace changes.
It's also not clear that such a patch is a great idea unless it retains
the ability to still build with a 1.5 JDK as that still seems to be in use.
Kris Jurka
From: | Jon(dot)Roberts at asurion(dot)com (Roberts, Jon) |
---|---|
To: | |
Subject: | [Pljava-dev] Simple patch for java 1.6 compatibility |
Date: | 2010-05-17 17:44:30 |
Message-ID: | 8661B041D452404E8088FBD47D2443BE013CE592@NDCEXCUS703.int.asurion.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pljava-dev |
My development environment uses Java 1.6 and my production is still on 1.5. When I create new class files, I compile with "-target 1.5" and everything works in both environments.
Am I lucky that this works at all or is the way to use Java 1.6 with PL/Java?
Jon
-----Original Message-----
From: pljava-dev-bounces at pgfoundry.org [mailto:pljava-dev-bounces at pgfoundry.org] On Behalf Of Kris Jurka
Sent: Monday, May 17, 2010 12:38 PM
To: Petr Mich?lek
Cc: pljava-dev at pgfoundry.org
Subject: Re: [Pljava-dev] Simple patch for java 1.6 compatibility
On 5/17/2010 9:57 AM, Petr Mich?lek wrote:
> Hello,
>
> I'm sending patch that adds support for java 1.6.
>
> New JDBC4(java 1.6) API simple throws exception NotSupoprtedOperation.
>
This diff is unreadable. It seems like a diff between 1.4.0 and current
CVS with a ton of changes from tabs to spaces. We need a diff from
current CVS that doesn't have irrelevant whitespace changes.
It's also not clear that such a patch is a great idea unless it retains
the ability to still build with a 1.5 JDK as that still seems to be in use.
Kris Jurka
_______________________________________________
Pljava-dev mailing list
Pljava-dev at pgfoundry.org
http://pgfoundry.org/mailman/listinfo/pljava-dev
From: | thomas at tada(dot)se (Thomas Hallgren) |
---|---|
To: | |
Subject: | [Pljava-dev] Simple patch for java 1.6 compatibility |
Date: | 2010-05-17 17:58:33 |
Message-ID: | 4BF183C9.7090003@tada.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pljava-dev |
On 05/17/2010 07:37 PM, Kris Jurka wrote:
>
> It's also not clear that such a patch is a great idea unless it
> retains the ability to still build with a 1.5 JDK as that still seems
> to be in use.
>
J2SE 5.0 reached its End of Service Life on November 3, 2009. Not sure I
see any compelling reasons to continue the support for it if Sun no
longer does:
http://java.sun.com/javase/downloads/index_jdk5.jsp
What would stop anyone from upgrading to 1.6?
Regards,
Thomas Hallgren
From: | pmichalek at click(dot)cz ( Petr Michálek ) |
---|---|
To: | |
Subject: | [Pljava-dev] Simple patch for java 1.6 compatibility |
Date: | 2010-05-17 20:00:17 |
Message-ID: | 4BF1A051.2030905@click.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pljava-dev |
I'm sorry, whitespaces was added by Eclipse code formatter.
Cleaned diff against current CVS is attached.
Petr Michalek
Dne 17.5.2010 19:37, Kris Jurka napsal(a):
> On 5/17/2010 9:57 AM, Petr Mich?lek wrote:
>> Hello,
>>
>> I'm sending patch that adds support for java 1.6.
>>
>> New JDBC4(java 1.6) API simple throws exception NotSupoprtedOperation.
>>
>
> This diff is unreadable. It seems like a diff between 1.4.0 and current
> CVS with a ton of changes from tabs to spaces. We need a diff from
> current CVS that doesn't have irrelevant whitespace changes.
>
> It's also not clear that such a patch is a great idea unless it retains
> the ability to still build with a 1.5 JDK as that still seems to be in use.
>
> Kris Jurka
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pljava_cvs_20100517__java_1_6.diff
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20100517/c6d3c46b/attachment.ksh>
From: | books at ejurka(dot)com (Kris Jurka) |
---|---|
To: | |
Subject: | [Pljava-dev] Simple patch for java 1.6 compatibility |
Date: | 2010-05-18 00:39:45 |
Message-ID: | 4BF1E1D1.2030500@ejurka.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pljava-dev |
On 5/17/2010 1:00 PM, Petr Mich?lek wrote:
> I'm sorry, whitespaces was added by Eclipse code formatter.
> Cleaned diff against current CVS is attached.
>
This is slightly better, but still contains many, many whitespace
changes. Please review the patch prior to sending it again.
Kris Jurka