[jira] Created: (PLXUTILS-65) ReaderFactory does not close created input streams

View: New views
3 Messages — Rating Filter:   Alert me  

[jira] Created: (PLXUTILS-65) ReaderFactory does not close created input streams

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ReaderFactory does not close created input streams
--------------------------------------------------

                 Key: PLXUTILS-65
                 URL: http://jira.codehaus.org/browse/PLXUTILS-65
             Project: Plexus Utils
          Issue Type: Bug
    Affects Versions: 1.5.2
            Reporter: Mark Hobson
            Priority: Minor


Methods that create an InputStream from Files or URLs should also close them in a finally block.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Closed: (PLXUTILS-65) ReaderFactory does not close created input streams

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/PLXUTILS-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy closed PLXUTILS-65.
---------------------------------

      Assignee: Herve Boutemy
    Resolution: Won't Fix

I don't understand the rationale: these methods are here to create Readers and let them open for use by the caller.
They can't close anything.
It's caller's responsibility to close the reader after use.

> ReaderFactory does not close created input streams
> --------------------------------------------------
>
>                 Key: PLXUTILS-65
>                 URL: http://jira.codehaus.org/browse/PLXUTILS-65
>             Project: Plexus Utils
>          Issue Type: Bug
>    Affects Versions: 1.5.2
>            Reporter: Mark Hobson
>            Assignee: Herve Boutemy
>            Priority: Minor
>
> Methods that create an InputStream from Files or URLs should also close them in a finally block.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (PLXUTILS-65) ReaderFactory does not close created input streams

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/PLXUTILS-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_125742 ]

Mark Hobson commented on PLXUTILS-65:
-------------------------------------

Apologies, not sure what I was thinking.. ignore me :)

> ReaderFactory does not close created input streams
> --------------------------------------------------
>
>                 Key: PLXUTILS-65
>                 URL: http://jira.codehaus.org/browse/PLXUTILS-65
>             Project: Plexus Utils
>          Issue Type: Bug
>    Affects Versions: 1.5.2
>            Reporter: Mark Hobson
>            Assignee: Herve Boutemy
>            Priority: Minor
>
> Methods that create an InputStream from Files or URLs should also close them in a finally block.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email