https://issues.apache.org/bugzilla/show_bug.cgi?id=52722

liangg...@sei.pku.edu.cn changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #2 from liangg...@sei.pku.edu.cn 2012-03-12 08:11:28 UTC ---
The buggy method is "list()" at line 300 in the file
"/tomcat/tc6.0.x/trunk/java/org/apache/catalina/manager/HTMLManagerServlet.java"
(head revision 1226777)

please reconsider this resource leak. 

When the statements at lines 309-540 throw any eception, the objects
"writer"can not be closed as expected. 

You said that "The container
*always* closing the Stream/Writer regardless of whether the app does or not",
what is about your stated "container"? How to guaranteeing its normal
execution? what if any other caller invokes this method ?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to