ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=54147

Daniel Trebbien <dtrebbien@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtrebbien@gmail.com

--- Comment #1 from Daniel Trebbien <dtrebbien@gmail.com> ---
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
"]]]]><![CDATA[>>".

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.

Mime
View raw message