ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15528] New: - filter 'org.apache.tools.ant.filters.LineContains' does not work with large files
Date Thu, 19 Dec 2002 13:30:21 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=15528>.
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=15528

filter 'org.apache.tools.ant.filters.LineContains' does not work with large files

           Summary: filter 'org.apache.tools.ant.filters.LineContains' does
                    not work with large files
           Product: Ant
           Version: 1.5.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: fpesquet@yahoo.fr
                CC: fpesquet@yahoo.fr


The filter org.apache.tools.ant.filters.LineContains produces a stack overflow 
when used in large files.
This is due to a recursion in the read() method that can be avoided (there is 
one recursion for each line of the file, hence the problem for large files).
I've already submitted a fix for this in Ant 1.5 beta.
It was approved and integrated by 'umagesh' (version 1.4.2.1 of the file 
LineContains.java), but removed some weeks later by 'bodewig' (version 1.4.2.2 
of the same file).
Therefore, the version 1.5.1 of Ant breaks when this filter is used on large 
files.

Regards,
Frederic

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message