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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to