[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-511) ArchiveFactory fails to close ZipFile and retains a Windows file lock

Andy Gumbrecht (JIRA) issues at jboss.org
Thu Sep 22 08:23:01 EDT 2016


    [ https://issues.jboss.org/browse/SHRINKWRAP-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13297097#comment-13297097 ] 

Andy Gumbrecht commented on SHRINKWRAP-511:
-------------------------------------------

This failure is sporadic as garbage collection 'may' dispose of the object and close the ZipFile

> ArchiveFactory fails to close ZipFile and retains a Windows file lock
> ---------------------------------------------------------------------
>
>                 Key: SHRINKWRAP-511
>                 URL: https://issues.jboss.org/browse/SHRINKWRAP-511
>             Project: ShrinkWrap
>          Issue Type: Bug
>          Components: api
>    Affects Versions: 1.2.6
>         Environment: Windows only - All versions
>            Reporter: Andy Gumbrecht
>
> org/jboss/shrinkwrap/api/ArchiveFactory.java:187
> The ZipFile is never closed and results in a file lock on Windows only platforms.
> https://github.com/shrinkwrap/shrinkwrap/pull/102



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the shrinkwrap-issues mailing list