[hibernate-issues] [Hibernate-JIRA] Commented: (HV-312) Close all input streams opened by HV

Hardy Ferentschik (JIRA) noreply at atlassian.com
Thu Apr 22 04:50:34 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36625#action_36625 ] 

Hardy Ferentschik commented on HV-312:
--------------------------------------

Worth investigating, but also think about what the spec says:
??Streams represented in the XML configuration and opened by the Configuration implementation must be closed by the Configuration implementation after the ValidatorFactory creation (or if an exception occurs). Streams provided programmatically are the responsibility of the application.??

> Close all input streams opened by HV
> ------------------------------------
>
>                 Key: HV-312
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-312
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 4.1.0.Beta1
>            Reporter: Gunnar Morling
>            Assignee: Hardy Ferentschik
>             Fix For: 4.1.0
>
>
> Seems like the input streams opened by HV (ValidationXmlParser#getInputStreamForPath()) are never closed. Will investigate and fix if required (see ConfigurationState#getMappingStreams()).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list