[jbosstools-issues] [JBoss JIRA] (JBIDE-10137) Close input and output stream in all places where it used

Alexey Kazakov (Resolved) (JIRA) jira-events at lists.jboss.org
Thu Dec 29 14:54:09 EST 2011


     [ https://issues.jboss.org/browse/JBIDE-10137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov resolved JBIDE-10137.
------------------------------------

    Fix Version/s: 3.3.0.Beta1
                       (was: 3.3.x)
       Resolution: Done

    
> 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
>             Fix For: 3.3.0.Beta1
>
>
> 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