[jbosstools-issues] [JBoss JIRA] (JBIDE-10137) Close input and output stream in all places where it used
Vitali Yemialyanchyk (Created) (JIRA)
jira-events at lists.jboss.org
Wed Nov 9 11:03:46 EST 2011
Close input and output stream in all places where it used
---------------------------------------------------------
Key: JBIDE-10137
URL: https://issues.jboss.org/browse/JBIDE-10137
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: common/jst/core, jsp/jsf/xml source editing
Affects Versions: 3.3.0.M4
Reporter: Vitali Yemialyanchyk
Assignee: Alexey Kazakov
Priority: Trivial
Unfortunately I've find a lot of places in JBossTools where InputStream & OutputStream are used and are not closed. Just make a search and inspect all over the code.
Here just list of places for org.jboss.tools.jsf plugin:
1) JSF2ComponentModelManager -> public static IDOMDocument getReadableDOMDocument(JarEntryFile file)
2) JSF2Util -> public static String readManifest(IProject project, String jarName) throws CoreException, IOException
3) JSF2TemplateManager -> public InputStream createStreamFromTemplate(String templateName)
4) JSF2ComponentsValidator -> protected boolean isValidate(IFile file)
5) XHTMLEntityResolver -> public static XMLInputSource _internalResolveEntity(... -> is.setByteStream(new LazyURLInputStream(physical));
6) XHTMLValidator -> stream = new FilteredInputStream(connect.getInputStream());
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list