ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54147] Creation of the test report (xml, plain) ends with a java.lang.OutOfMemoryError exception
Date Sun, 09 Dec 2012 15:35:24 GMT

Daniel Trebbien <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #1 from Daniel Trebbien <> ---
1.  Rather than moving and renaming the encodedata() method, why not make the
necessary changes in place? This way, history is better preserved.

2.  The new implementation is not correct.  It writes out "]]]]><![CDATA[>" as
soon as it sees "]]", but this means that "]]>" is replaced with

What you could do is write out "]]]]><![CDATA[" instead.  Though, this slightly
changes the behavior (i.e. instead of escaping "]]>", it actually escapes "]]")
and the JavaDoc comment would need to be updated.

3.  Because characters are written individually in the new code, there is
likely a negative impact on performance.

You are receiving this mail because:
You are the assignee for the bug.

View raw message