[hibernate-issues] [Hibernate-JIRA] Resolved: (EJB-150) JarVisitor.addElement does not close passed input streams

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Sep 28 21:49:24 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-150?page=all ]
     
Emmanuel Bernard resolved EJB-150:
----------------------------------

    Resolution: Fixed

I think I fixed all the close() leaks. I would appreciate tests and feedbacks

open a separate test for duplcate elements EJB-230

> JarVisitor.addElement does not close passed input streams
> ---------------------------------------------------------
>
>          Key: EJB-150
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-150
>      Project: Hibernate Entity Manager
>         Type: Bug

>   Components: EntityManager
>     Versions: 3.1beta6
>     Reporter: Fedor Bokov
>      Fix For: 3.2.0

>
>
> JarVisitor.addElement does not close passed input streams when none of the filters accepted the entry.
> This is especially critical when ExplodedJarVisitor is used on UNIX platform - limit on maximum number of open files (which is 1024 by default on many systems)  is easily reached during scan by ExplodedJarVisitor.

-- 
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