shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SHALE-251) Java 1.5 method java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;) used in org.apache.shale.test.mock.MockValueBinding.parse
Date Sat, 12 Aug 2006 00:03:21 GMT
     [ http://issues.apache.org/struts/browse/SHALE-251?page=all ]

Mike Kienenberger updated SHALE-251:
------------------------------------

    Attachment: MockValueBinding.java.patch.txt

Patch which changes 'replace' to 'replaceAll' (possibly not as performant, but compatible
as far as I can tell).

Probably a StringUtil function would be better, but I don't see a direct dependency on commons
lang for Shale even though there is transitive dependency.

> Java 1.5 method java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)
used in org.apache.shale.test.mock.MockValueBinding.parse
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SHALE-251
>                 URL: http://issues.apache.org/struts/browse/SHALE-251
>             Project: Shale
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 1.0.3-SNAPSHOT
>         Environment: MyFaces Tomahawk 1.1.5 snapshot from 2006-08-11
>            Reporter: Mike Kienenberger
>         Attachments: MockValueBinding.java.patch.txt
>
>
> java.lang.NoSuchMethodError: java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
> 	at org.apache.shale.test.mock.MockValueBinding.parse(MockValueBinding.java:328)
> 	at org.apache.shale.test.mock.MockValueBinding.getValue(MockValueBinding.java:112)
> 	at javax.faces.component.UIOutput.getValue(UIOutput.java:75)
> The following Java 1.5 code snuck into the Shale 1.0.3 snapshot test framework, which
is documented to be Java 1.4 compatible.
> This is causing the default build for MyFaces (which includes running the tests) to fail.

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

        

Mime
View raw message