Class DOMLeakPreventer

  • All Implemented Interfaces:
    LifeCycle

    @Deprecated
    public class DOMLeakPreventer
    extends AbstractLeakPreventer
    Deprecated.
    reported as fixed in jdk 7, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6916498
    DOMLeakPreventer See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6916498 Prevent the RuntimeException that is a static member of AbstractDOMParser from pinning a webapp classloader by causing it to be set here by a non-webapp classloader. Note that according to the bug report, a heap dump may not identify the GCRoot, making it difficult to identify the cause of the leak.