tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-1935) Leaked streams to files/classloader resources
Date Mon, 26 Sep 2016 12:11:20 GMT

    [ https://issues.apache.org/jira/browse/TOMEE-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15522868#comment-15522868
] 

ASF GitHub Bot commented on TOMEE-1935:
---------------------------------------

GitHub user SvetlinZarev opened a pull request:

    https://github.com/apache/tomee/pull/47

    Do close opened JarFiles

    Bug: https://issues.apache.org/jira/browse/TOMEE-1935

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/SvetlinZarev/tomee stream_leaks_1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tomee/pull/47.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #47
    
----
commit 6a79da19a6fed8f1646350ab445d7567583cde88
Author: Svetlin Zarev <svetlin.zarev@sap.com>
Date:   2016-09-26T11:12:25Z

    Use try-with resources to make sure that the jar file will be closed

commit 6a33347ec691587216f42136d331b6df081e11c7
Author: Svetlin Zarev <svetlin.zarev@sap.com>
Date:   2016-09-26T11:23:04Z

    Use try-with resources to make sure that the jar files will be closed

commit dd1017c289d3bc1142052d4af672e790b0a8ea2a
Author: Svetlin Zarev <svetlin.zarev@sap.com>
Date:   2016-09-26T11:25:18Z

    No need to perform those operations if "warning" is not enabled.

----


> Leaked streams to files/classloader resources
> ---------------------------------------------
>
>                 Key: TOMEE-1935
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1935
>             Project: TomEE
>          Issue Type: Bug
>            Reporter: Svetlin Zarev
>            Assignee: Romain Manni-Bucau
>             Fix For: 7.0.2
>
>
> TomEE does not close some streams to files or streams opened by classLoader.getResourceAsStream().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message