jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1374) [PATCH] DbDataStore: Make sure streams are closed
Date Sat, 16 Feb 2008 11:39:08 GMT

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

Jukka Zitting updated JCR-1374:
-------------------------------

         Priority: Minor  (was: Major)
    Fix Version/s:     (was: 1.5)
                   1.4.1
       Issue Type: Bug  (was: Improvement)
          Summary: [PATCH] DbDataStore: Make sure streams are closed  (was: [PATCH] make sure
streams are closed)

I moved the InputStream.close() call to a finally block in revision 628263. I also removed
the extra BufferdInputStream wrapper as Properties.load() already buffers the input.

I classified this as a minor bug as all streams should be properly closed. Merged to the 1.4
branch in revision 628266.

> [PATCH] DbDataStore: Make sure streams are closed
> -------------------------------------------------
>
>                 Key: JCR-1374
>                 URL: https://issues.apache.org/jira/browse/JCR-1374
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.4
>            Reporter: Dave Brosius
>            Assignee: Thomas Mueller
>            Priority: Minor
>             Fix For: 1.4.1
>
>         Attachments: close_on_finally.patch
>
>
> Stream isn't closed on end of use. this patch fixes it.

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


Mime
View raw message