You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Kevin Menard (JIRA)" <ji...@apache.org> on 2006/05/17 00:09:07 UTC

[JIRA] Created: (CAY-549) Cayenne does not work with Java 6

Cayenne does not work with Java 6
---------------------------------

         Key: CAY-549
         URL: http://issues.apache.org/cayenne/browse/CAY-549
     Project: Cayenne
        Type: Bug

  Components: Cayenne Core Library  
    Reporter: Kevin Menard
     Fix For: 1.2 [BETA]


It appears that Java 6 changes some of the SQL interfaces via the addition of new methods.  Given that Cayenne does not currently implement those methods, it will not compile with the JDK 1.6.0 beta compiler.

While I realize that Java 6 is only beta now, it should be released in fall '06.  I'd suggest fixing this in Cayenne 1.2 given that it will likely be the stable version of Cayenne for some time to come.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/cayenne/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [JIRA] Created: (CAY-549) Cayenne does not work with Java 6

Posted by Andrus Adamchik <an...@objectstyle.org>.
Or we can ask the infra to set up a zone for Cayenne, but I am not  
sure if there are any limitations to the Solaris zones approach (???)

http://www.apache.org/dev/solaris-zones.html

Andrus

On May 16, 2006, at 6:37 PM, Andrus Adamchik wrote:

> I will be deploying a new dev server @objectstyle soon (already got  
> the box). I'll give shell access to all Cayenne committers. We can  
> use this machine for automated tests with different JVM versions.
>
> Andrus
>
>
> On May 16, 2006, at 6:29 PM, Kevin Menard wrote:
>
>> On Tue, 16 May 2006 18:13:21 -0400, Cris Daniluk  
>> <cr...@gmail.com> wrote:
>>
>>> Is this fixable in a way that still works with 1.4/5/6, or are we
>>> going to have to do split releases?
>>
>> If they're just new methods, I don't see there being much of a  
>> problem.  At worst on 1.4/5, the methods will never get called by  
>> the JVM.  It may be worthwhile to run the test suite with both <=  
>> 5 and >= 6.
>>
>> -- 
>> Kevin
>>
>
>


Re: [JIRA] Created: (CAY-549) Cayenne does not work with Java 6

Posted by Andrus Adamchik <an...@objectstyle.org>.
I will be deploying a new dev server @objectstyle soon (already got  
the box). I'll give shell access to all Cayenne committers. We can  
use this machine for automated tests with different JVM versions.

Andrus


On May 16, 2006, at 6:29 PM, Kevin Menard wrote:

> On Tue, 16 May 2006 18:13:21 -0400, Cris Daniluk  
> <cr...@gmail.com> wrote:
>
>> Is this fixable in a way that still works with 1.4/5/6, or are we
>> going to have to do split releases?
>
> If they're just new methods, I don't see there being much of a  
> problem.  At worst on 1.4/5, the methods will never get called by  
> the JVM.  It may be worthwhile to run the test suite with both <= 5  
> and >= 6.
>
> -- 
> Kevin
>


Re: [JIRA] Created: (CAY-549) Cayenne does not work with Java 6

Posted by Kevin Menard <km...@servprise.com>.
On Tue, 16 May 2006 18:13:21 -0400, Cris Daniluk <cr...@gmail.com>  
wrote:

> Is this fixable in a way that still works with 1.4/5/6, or are we
> going to have to do split releases?

If they're just new methods, I don't see there being much of a problem.   
At worst on 1.4/5, the methods will never get called by the JVM.  It may  
be worthwhile to run the test suite with both <= 5 and >= 6.

-- 
Kevin

Re: [JIRA] Created: (CAY-549) Cayenne does not work with Java 6

Posted by Cris Daniluk <cr...@gmail.com>.
Is this fixable in a way that still works with 1.4/5/6, or are we
going to have to do split releases?

On 5/16/06, Kevin Menard (JIRA) <ji...@apache.org> wrote:
> Cayenne does not work with Java 6
> ---------------------------------
>
>          Key: CAY-549
>          URL: http://issues.apache.org/cayenne/browse/CAY-549
>      Project: Cayenne
>         Type: Bug
>
>   Components: Cayenne Core Library
>     Reporter: Kevin Menard
>      Fix For: 1.2 [BETA]
>
>
> It appears that Java 6 changes some of the SQL interfaces via the addition of new methods.  Given that Cayenne does not currently implement those methods, it will not compile with the JDK 1.6.0 beta compiler.
>
> While I realize that Java 6 is only beta now, it should be released in fall '06.  I'd suggest fixing this in Cayenne 1.2 given that it will likely be the stable version of Cayenne for some time to come.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/cayenne/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>

Re: [JIRA] Created: (CAY-549) Cayenne does not work with Java 6

Posted by Kevin Menard <km...@servprise.com>.
On Tue, 16 May 2006 18:17:39 -0400, Andrus Adamchik  
<an...@objectstyle.org> wrote:

> It doesn't have to compile against java 6 - as long as it can be used as  
> a library (compiled under 1.4). Does the binary work?
>
> Andrus

I'll have to play around with it.  I'd imagine I'd only see a problem when  
using the classes in question.  I'll try to compile the JAR with 1.5 and  
run the tests with 1.6.

-- 
Kevin

Re: [JIRA] Created: (CAY-549) Cayenne does not work with Java 6

Posted by Andrus Adamchik <an...@objectstyle.org>.
It doesn't have to compile against java 6 - as long as it can be used  
as a library (compiled under 1.4). Does the binary work?

Andrus


On May 16, 2006, at 6:09 PM, Kevin Menard (JIRA) wrote:

> Cayenne does not work with Java 6
> ---------------------------------
>
>          Key: CAY-549
>          URL: http://issues.apache.org/cayenne/browse/CAY-549
>      Project: Cayenne
>         Type: Bug
>
>   Components: Cayenne Core Library
>     Reporter: Kevin Menard
>      Fix For: 1.2 [BETA]
>
>
> It appears that Java 6 changes some of the SQL interfaces via the  
> addition of new methods.  Given that Cayenne does not currently  
> implement those methods, it will not compile with the JDK 1.6.0  
> beta compiler.
>
> While I realize that Java 6 is only beta now, it should be released  
> in fall '06.  I'd suggest fixing this in Cayenne 1.2 given that it  
> will likely be the stable version of Cayenne for some time to come.
>
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the  
> administrators:
>    http://issues.apache.org/cayenne/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>