You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/05/01 21:50:56 UTC

DO NOT REPLY [Bug 19525] New: - taglib tests require JDK 1.4 to compile

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19525>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19525

taglib tests require JDK 1.4 to compile

           Summary: taglib tests require JDK 1.4 to compile
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Test
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: phil@steitz.com


Many of the taglib tests use String.replaceAll(), which is new in 1.4.  This
makes it impossible to compile and run the tests under JDK 1.3. 

Proposed solution:

Replace calls to String.replaceAll() with commons.lang.StringUtils.replace().

I have done this locally and all tests compile and run successfuly after the change.

Impacted tests are:  TestCookieTag, TestHeaderTag, TestIncludeTag,
TestMessageTag, TestMessageTag1-4, TestMessageTag1-4_fr, TestPageTag,
TestParameterTag, TestSizeTag, TestStrutsTag,
TestWriteTag,TestResourceTag,TestPageTag,TestBaseTag,TestIterateTag

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