You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/10/09 23:37:01 UTC

[Bug 58486] JreMemoryLeakPreventionListener: initialize two further JRE classes

https://bz.apache.org/bugzilla/show_bug.cgi?id=58486

Luke Woodward <lu...@yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Luke Woodward <lu...@yahoo.co.uk> ---
The servlet in my previous comment demonstrates a leak with the 'abort'
exception in the class
com.sun.org.apache.xml.internal.serialize.DOMSerializerImpl.  If you replace
the lines

            document.createElement("test");
            DOMImplementationLS implementation =
(DOMImplementationLS)document.getImplementation();
            implementation.createLSSerializer().writeToString(document);

with

            document.normalizeDocument();

then this causes a leak with
com.sun.org.apache.xerces.internal.dom.DOMNormalizer.abort instead.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org