[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 Jan 26 09:35:00 EST 2017


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

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

[~gastaldi] The zipfile is closed in the stream wrapper on close (in the PR).
I've not had an issue on Win since the patch was accepted.
Are you getting this error somewhere else?

> 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
>             Fix For: 1.2.7
>
>
> 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
(v7.2.3#72005)


More information about the shrinkwrap-issues mailing list