You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shale.apache.org by "Mike Kienenberger (JIRA)" <ji...@apache.org> on 2006/08/12 01:38:21 UTC

[jira] Created: (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

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


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

        

[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

Posted by "Craig McClanahan (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SHALE-251?page=all ]

Craig McClanahan updated SHALE-251:
-----------------------------------

    Fix Version/s: 1.0.3-SNAPSHOT
         Assignee: Craig McClanahan

> 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
>         Assigned To: Craig McClanahan
>             Fix For: 1.0.3-SNAPSHOT
>
>         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

        

[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

Posted by "Mike Kienenberger (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] Commented: (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

Posted by "payne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/SHALE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44726#action_44726 ] 

payne commented on SHALE-251:
-----------------------------

http://www.gnn.com.br/forum/showthread.php?t=1000087664
http://www.gnn.com.br/forum/showthread.php?t=1000087663
http://www.gnn.com.br/forum/showthread.php?t=1000087662
http://www.gnn.com.br/forum/showthread.php?t=1000087661
http://www.gnn.com.br/forum/showthread.php?t=1000087660
http://www.gnn.com.br/forum/showthread.php?t=1000087659
http://www.gnn.com.br/forum/showthread.php?t=1000087658
http://www.gnn.com.br/forum/showthread.php?t=1000087657
http://www.gnn.com.br/forum/showthread.php?t=1000087655
http://www.gnn.com.br/forum/showthread.php?t=1000087654
http://www.gnn.com.br/forum/showthread.php?t=1000087653
http://www.gnn.com.br/forum/showthread.php?t=1000087652
http://www.gnn.com.br/forum/showthread.php?t=1000087651
http://www.gnn.com.br/forum/showthread.php?t=1000087650
http://www.gnn.com.br/forum/showthread.php?t=1000087649
http://www.gnn.com.br/forum/showthread.php?t=1000087647
http://www.gnn.com.br/forum/showthread.php?t=1000087646
http://www.gnn.com.br/forum/showthread.php?t=1000087645
http://www.gnn.com.br/forum/showthread.php?t=1000087643
http://www.gnn.com.br/forum/showthread.php?t=1000087642
http://www.gnn.com.br/forum/showthread.php?t=1000087640
http://www.gnn.com.br/forum/showthread.php?t=1000087639
http://www.gnn.com.br/forum/showthread.php?t=1000087638
http://www.gnn.com.br/forum/showthread.php?t=1000087637
http://www.gnn.com.br/forum/showthread.php?t=1000087636
http://www.gnn.com.br/forum/showthread.php?t=1000087635
http://www.gnn.com.br/forum/showthread.php?t=1000087633
http://www.gnn.com.br/forum/showthread.php?t=1000087554
http://www.gnn.com.br/forum/showthread.php?t=1000087553
http://www.gnn.com.br/forum/showthread.php?t=1000087551
http://www.gnn.com.br/forum/showthread.php?t=1000087550
http://www.gnn.com.br/forum/showthread.php?t=1000087548
http://www.gnn.com.br/forum/showthread.php?t=1000087547
http://www.gnn.com.br/forum/showthread.php?t=1000087546
http://www.gnn.com.br/forum/showthread.php?t=1000087545
http://www.gnn.com.br/forum/showthread.php?t=1000087632
http://www.gnn.com.br/forum/showthread.php?t=1000087631
http://www.gnn.com.br/forum/showthread.php?t=1000087630
http://www.gnn.com.br/forum/showthread.php?t=1000087629
http://www.gnn.com.br/forum/showthread.php?t=1000087628
http://www.gnn.com.br/forum/showthread.php?t=1000087627
http://www.gnn.com.br/forum/showthread.php?t=1000087625
http://www.gnn.com.br/forum/showthread.php?t=1000087624
http://www.gnn.com.br/forum/showthread.php?t=1000087623
http://www.gnn.com.br/forum/showthread.php?t=1000087622
http://www.gnn.com.br/forum/showthread.php?t=1000087621
http://www.gnn.com.br/forum/showthread.php?t=1000087620
http://www.gnn.com.br/forum/showthread.php?t=1000087618
http://www.gnn.com.br/forum/showthread.php?t=1000087617
http://www.gnn.com.br/forum/showthread.php?t=1000087616
http://www.gnn.com.br/forum/showthread.php?t=1000087615
http://www.gnn.com.br/forum/showthread.php?t=1000087614
http://www.gnn.com.br/forum/showthread.php?t=1000087613
http://www.gnn.com.br/forum/showthread.php?t=1000087611
http://www.gnn.com.br/forum/showthread.php?t=1000087610
http://www.gnn.com.br/forum/showthread.php?t=1000087609
http://www.gnn.com.br/forum/showthread.php?t=1000087608
http://www.gnn.com.br/forum/showthread.php?t=1000087607
http://www.gnn.com.br/forum/showthread.php?t=1000087605
http://www.gnn.com.br/forum/showthread.php?t=1000087604
http://www.gnn.com.br/forum/showthread.php?t=1000087603
http://www.gnn.com.br/forum/showthread.php?t=1000087602
http://www.gnn.com.br/forum/showthread.php?t=1000087601
http://www.gnn.com.br/forum/showthread.php?t=1000087600
http://www.gnn.com.br/forum/showthread.php?t=1000087599
http://www.gnn.com.br/forum/showthread.php?t=1000087598
http://www.gnn.com.br/forum/showthread.php?t=1000087597
http://www.gnn.com.br/forum/showthread.php?t=1000087596
http://www.gnn.com.br/forum/showthread.php?t=1000087595
http://www.gnn.com.br/forum/showthread.php?t=1000087592
http://www.gnn.com.br/forum/showthread.php?t=1000087591
http://www.gnn.com.br/forum/showthread.php?t=1000087590
http://www.gnn.com.br/forum/showthread.php?t=1000087588
http://www.gnn.com.br/forum/showthread.php?t=1000087587
http://www.gnn.com.br/forum/showthread.php?t=1000087586
http://www.gnn.com.br/forum/showthread.php?t=1000087585
http://www.gnn.com.br/forum/showthread.php?t=1000087584
http://www.gnn.com.br/forum/showthread.php?t=1000087583
http://www.gnn.com.br/forum/showthread.php?t=1000087582
http://www.gnn.com.br/forum/showthread.php?t=1000087581
http://www.gnn.com.br/forum/showthread.php?t=1000087579
http://www.gnn.com.br/forum/showthread.php?t=1000087578
http://www.gnn.com.br/forum/showthread.php?t=1000087577
http://www.gnn.com.br/forum/showthread.php?t=1000087575
http://www.gnn.com.br/forum/showthread.php?t=1000087574
http://www.gnn.com.br/forum/showthread.php?t=1000087573
http://www.gnn.com.br/forum/showthread.php?t=1000087572
http://www.gnn.com.br/forum/showthread.php?t=1000087571
http://www.gnn.com.br/forum/showthread.php?t=1000087570
http://www.gnn.com.br/forum/showthread.php?t=1000087569
http://www.gnn.com.br/forum/showthread.php?t=1000087568
http://www.gnn.com.br/forum/showthread.php?t=1000087567
http://www.gnn.com.br/forum/showthread.php?t=1000087565
http://www.gnn.com.br/forum/showthread.php?t=1000087564
http://www.gnn.com.br/forum/showthread.php?t=1000087561
http://www.gnn.com.br/forum/showthread.php?t=1000087559
http://www.gnn.com.br/forum/showthread.php?t=1000087558
http://www.gnn.com.br/forum/showthread.php?t=1000087557
http://www.gnn.com.br/forum/showthread.php?t=1000087556
http://www.gnn.com.br/forum/showthread.php?t=1000087555

> 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: https://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
>            Assignee: Craig McClanahan
>             Fix For: 1.0.3
>
>         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.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (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

Posted by "Craig McClanahan (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SHALE-251?page=all ]

Craig McClanahan resolved SHALE-251.
------------------------------------

    Resolution: Fixed

Fixed for nightly build 20060813.  Thanks for the patch!


> 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
>         Assigned To: Craig McClanahan
>             Fix For: 1.0.3-SNAPSHOT
>
>         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

        

[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

Posted by "Craig McClanahan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/SHALE-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig McClanahan updated SHALE-251:
-----------------------------------

    Comment: was deleted

> 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: https://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
>            Assignee: Craig McClanahan
>             Fix For: 1.0.3
>
>         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.
-
You can reply to this email to add a comment to the issue online.