This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Project 1 begins. Saves original System.{out,err} - the good ones. Sets streams to DemuxOutputStream(P1). Project 2 begins. Saves DOS(P1) and sets DOS(P2). P1 ends, sets streams to orig. P2 ends, sets streams back to DOS(P1). Now the VM has a hard ref to P1 (and its classloader, taskdefs, etc. etc.) -> mem leak. Should centralize stream handling so overlapped runs will finally set streams back to originals.
Including patch for issue #36393: committed * Up-To-Date 1.4 ant/src-bridge/org/apache/tools/ant/module/bridge/impl/BridgeImpl.java committed * Up-To-Date 1.4 ant/src/org/apache/tools/ant/module/bridge/AntBridge.java
Jesse, as a reporter could you verify this bug to close its life cycle? Thanks!
See comment in issue #36393.
Verified.