You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Paul Golick (JIRA)" <tu...@ws.apache.org> on 2006/06/23 21:04:29 UTC

[jira] Created: (TUSCANY-492) recently added file XMLStreamHelperTestCase.java is not compatible with JDK 1.4

recently added file XMLStreamHelperTestCase.java is not compatible with JDK 1.4
-------------------------------------------------------------------------------

         Key: TUSCANY-492
         URL: http://issues.apache.org/jira/browse/TUSCANY-492
     Project: Tuscany
        Type: Bug

  Components: Java SDO Implementation  
    Versions: Java-M2    
 Environment: Windows XP
    Reporter: Paul Golick


In XMLStreamHelperTestCase.java there are two uses of a java.lang.String instance method "contains(java.lang.String)".
This method was not added until Java 1.5; so, it is not found in the class library for Java 1.4
The attached patch changes "x.contains(y)" to the nearly equivalent "x.indexOf(y)!=-1".


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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Closed: (TUSCANY-492) recently added file XMLStreamHelperTestCase.java is not compatible with JDK 1.4

Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-492?page=all ]

Pete Robbins closed TUSCANY-492.
--------------------------------

    Fix Version/s: Java-Mx
       Resolution: Fixed

> recently added file XMLStreamHelperTestCase.java is not compatible with JDK 1.4
> -------------------------------------------------------------------------------
>
>                 Key: TUSCANY-492
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-492
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-M2
>         Environment: Windows XP
>            Reporter: Paul Golick
>             Fix For: Java-Mx
>
>         Attachments: XMLStreamHelperTestCase_patch.txt
>
>
> In XMLStreamHelperTestCase.java there are two uses of a java.lang.String instance method "contains(java.lang.String)".
> This method was not added until Java 1.5; so, it is not found in the class library for Java 1.4
> The attached patch changes "x.contains(y)" to the nearly equivalent "x.indexOf(y)!=-1".

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-492) recently added file XMLStreamHelperTestCase.java is not compatible with JDK 1.4

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/TUSCANY-492?page=comments#action_12428465 ] 
            
Paul Golick commented on TUSCANY-492:
-------------------------------------

The problem reported by this issue was fixed in revision 431585.  This issue can be closed.

> recently added file XMLStreamHelperTestCase.java is not compatible with JDK 1.4
> -------------------------------------------------------------------------------
>
>                 Key: TUSCANY-492
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-492
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-M2
>         Environment: Windows XP
>            Reporter: Paul Golick
>         Attachments: XMLStreamHelperTestCase_patch.txt
>
>
> In XMLStreamHelperTestCase.java there are two uses of a java.lang.String instance method "contains(java.lang.String)".
> This method was not added until Java 1.5; so, it is not found in the class library for Java 1.4
> The attached patch changes "x.contains(y)" to the nearly equivalent "x.indexOf(y)!=-1".

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-492) recently added file XMLStreamHelperTestCase.java is not compatible with JDK 1.4

Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-492?page=all ]

Paul Golick updated TUSCANY-492:
--------------------------------

    Attachment: XMLStreamHelperTestCase_patch.txt

The contains method of the Java 1.5 String class is replaced with method present in both Java 1.4 and later.

> recently added file XMLStreamHelperTestCase.java is not compatible with JDK 1.4
> -------------------------------------------------------------------------------
>
>          Key: TUSCANY-492
>          URL: http://issues.apache.org/jira/browse/TUSCANY-492
>      Project: Tuscany
>         Type: Bug

>   Components: Java SDO Implementation
>     Versions: Java-M2
>  Environment: Windows XP
>     Reporter: Paul Golick
>  Attachments: XMLStreamHelperTestCase_patch.txt
>
> In XMLStreamHelperTestCase.java there are two uses of a java.lang.String instance method "contains(java.lang.String)".
> This method was not added until Java 1.5; so, it is not found in the class library for Java 1.4
> The attached patch changes "x.contains(y)" to the nearly equivalent "x.indexOf(y)!=-1".

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org