struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19525] New: - taglib tests require JDK 1.4 to compile
Date Thu, 01 May 2003 19:50:56 GMT
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


Mime
View raw message