You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <de...@tuscany.apache.org> on 2009/09/04 21:08:57 UTC

[jira] Resolved: (TUSCANY-3240) SpringXMLComponentTypeLoader leaves open a file handle to the application-context.xml

     [ https://issues.apache.org/jira/browse/TUSCANY-3240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende resolved TUSCANY-3240.
--------------------------------------

    Resolution: Fixed
      Assignee: Luciano Resende

Thanks for the patch Kaushik Mukherjee. Fix applied in 1.x, 2.x and 1.5.1 

> SpringXMLComponentTypeLoader leaves open a file handle to the application-context.xml
> -------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3240
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3240
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Spring Implementation Extension
>    Affects Versions: Java-SCA-1.5.1, Java-SCA-2.0
>            Reporter: Kaushik Mukherjee
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-1.5.1, Java-SCA-2.0, Java-SCA-Next
>
>         Attachments: TUSCANY-3240.patch
>
>
> org.apache.tuscany.sca.implementation.spring.introspect.SpringXMLComponentTypeLoader.loadFromXML() leaves a file handle open to
> the application-context.xml causing an exception when trying to write back to the file.
> Patch adds a reader.close() to the loadFromXML method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.