You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "toby cabot (JIRA)" <ji...@apache.org> on 2007/05/17 22:06:16 UTC

[jira] Created: (GERONIMO-3171) java 1.6 compile fix

java 1.6 compile fix
--------------------

                 Key: GERONIMO-3171
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3171
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: naming
    Affects Versions: 2.0-M6
         Environment: Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Fedora Core 4

            Reporter: toby cabot
            Priority: Trivial
             Fix For: 2.0-M6
         Attachments: j6-patch.txt

I was curious to see if Geronimo could build and/or run using java 1.6 so I tried to build.  There's a compile-time problem in one of the mock classes in geronimo-naming caused by a change in 1.6's interfaces.

1.5: http://java.sun.com/j2se/1.5.0/docs/api/javax/sql/DataSource.html
1.6: http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html

I'll include a patch that adds the new required methods to the mock DataSource.  They seem to work fine in 1.5 also.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-3171) java 1.6 compile fix

Posted by "toby cabot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

toby cabot updated GERONIMO-3171:
---------------------------------

    Attachment: j6-patch.txt

> java 1.6 compile fix
> --------------------
>
>                 Key: GERONIMO-3171
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3171
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: naming
>    Affects Versions: 2.0-M6
>         Environment: Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
> Fedora Core 4
>            Reporter: toby cabot
>            Priority: Trivial
>             Fix For: 2.0-M6
>
>         Attachments: j6-patch.txt
>
>
> I was curious to see if Geronimo could build and/or run using java 1.6 so I tried to build.  There's a compile-time problem in one of the mock classes in geronimo-naming caused by a change in 1.6's interfaces.
> 1.5: http://java.sun.com/j2se/1.5.0/docs/api/javax/sql/DataSource.html
> 1.6: http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html
> I'll include a patch that adds the new required methods to the mock DataSource.  They seem to work fine in 1.5 also.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GERONIMO-3171) java 1.6 compile fix for geronimo-naming mock DataSource class

Posted by "toby cabot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

toby cabot updated GERONIMO-3171:
---------------------------------

    Summary: java 1.6 compile fix for geronimo-naming mock DataSource class  (was: java 1.6 compile fix)

> java 1.6 compile fix for geronimo-naming mock DataSource class
> --------------------------------------------------------------
>
>                 Key: GERONIMO-3171
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3171
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: naming
>    Affects Versions: 2.0-M6
>         Environment: Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
> Fedora Core 4
>            Reporter: toby cabot
>            Priority: Trivial
>             Fix For: 2.0-M6
>
>         Attachments: j6-patch.txt
>
>
> I was curious to see if Geronimo could build and/or run using java 1.6 so I tried to build.  There's a compile-time problem in one of the mock classes in geronimo-naming caused by a change in 1.6's interfaces.
> 1.5: http://java.sun.com/j2se/1.5.0/docs/api/javax/sql/DataSource.html
> 1.6: http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html
> I'll include a patch that adds the new required methods to the mock DataSource.  They seem to work fine in 1.5 also.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-3171) java 1.6 compile fix for geronimo-naming mock DataSource class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods resolved GERONIMO-3171.
------------------------------------

    Resolution: Fixed

Committed revision 539126 in trunk.
Verified server still builds and runs with Sun 1.5.0_11.  Did not verify build or runtime on Java 6.
Toby, thanks for the patch.

> java 1.6 compile fix for geronimo-naming mock DataSource class
> --------------------------------------------------------------
>
>                 Key: GERONIMO-3171
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3171
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: naming
>    Affects Versions: 2.0-M6
>         Environment: Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
> Fedora Core 4
>            Reporter: toby cabot
>         Assigned To: Donald Woods
>            Priority: Trivial
>             Fix For: 2.0-M6
>
>         Attachments: j6-patch.txt
>
>
> I was curious to see if Geronimo could build and/or run using java 1.6 so I tried to build.  There's a compile-time problem in one of the mock classes in geronimo-naming caused by a change in 1.6's interfaces.
> 1.5: http://java.sun.com/j2se/1.5.0/docs/api/javax/sql/DataSource.html
> 1.6: http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html
> I'll include a patch that adds the new required methods to the mock DataSource.  They seem to work fine in 1.5 also.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-3171) java 1.6 compile fix for geronimo-naming mock DataSource class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods reassigned GERONIMO-3171:
--------------------------------------

    Assignee: Donald Woods

> java 1.6 compile fix for geronimo-naming mock DataSource class
> --------------------------------------------------------------
>
>                 Key: GERONIMO-3171
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3171
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: naming
>    Affects Versions: 2.0-M6
>         Environment: Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
> Fedora Core 4
>            Reporter: toby cabot
>         Assigned To: Donald Woods
>            Priority: Trivial
>             Fix For: 2.0-M6
>
>         Attachments: j6-patch.txt
>
>
> I was curious to see if Geronimo could build and/or run using java 1.6 so I tried to build.  There's a compile-time problem in one of the mock classes in geronimo-naming caused by a change in 1.6's interfaces.
> 1.5: http://java.sun.com/j2se/1.5.0/docs/api/javax/sql/DataSource.html
> 1.6: http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html
> I'll include a patch that adds the new required methods to the mock DataSource.  They seem to work fine in 1.5 also.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-3171) java 1.6 compile fix for geronimo-naming mock DataSource class

Posted by "toby cabot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496889 ] 

toby cabot commented on GERONIMO-3171:
--------------------------------------

Donald, thanks for the lightning-fast response to this!  At the moment I can build geronimo using 1.6 but haven't investigated running it.  I see bug 3142 on this topic and I'll report anything else I find.


> java 1.6 compile fix for geronimo-naming mock DataSource class
> --------------------------------------------------------------
>
>                 Key: GERONIMO-3171
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3171
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: naming
>    Affects Versions: 2.0-M6
>         Environment: Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
> Fedora Core 4
>            Reporter: toby cabot
>         Assigned To: Donald Woods
>            Priority: Trivial
>             Fix For: 2.0-M6
>
>         Attachments: j6-patch.txt
>
>
> I was curious to see if Geronimo could build and/or run using java 1.6 so I tried to build.  There's a compile-time problem in one of the mock classes in geronimo-naming caused by a change in 1.6's interfaces.
> 1.5: http://java.sun.com/j2se/1.5.0/docs/api/javax/sql/DataSource.html
> 1.6: http://java.sun.com/javase/6/docs/api/javax/sql/DataSource.html
> I'll include a patch that adds the new required methods to the mock DataSource.  They seem to work fine in 1.5 also.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.