Summary: | JDTCompiler::getContents does not close the reader | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | junwei.cheng |
Component: | Jasper | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sven.koehler |
Priority: | P2 | ||
Version: | Unknown | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux |
Description
junwei.cheng
2007-03-07 19:02:57 UTC
Both the FileInputStream and the InputStreamReader should be closed within a finally block. Only the FileInputStream needs to be closed (the others are irrelevant). |