GitHub user Graeme-Miller opened a pull request:

    https://github.com/apache/brooklyn-server/pull/623

    BundleMaker copy fix

    When cloning a zip, we were using the ZipEntry from the input zip.
    This causes issues, as the info in the input ZipEntry is not necessarily 
correct for the output zip.
    Specifically, compressed size can be different. This causes exceptions when 
the wrong amount of bytes are written.
    
    This change means that a new ZipEntry is created, and the info from the 
input ZipEntry is ignored.

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

    $ git pull https://github.com/Graeme-Miller/brooklyn-server zip_copy_fix

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

    https://github.com/apache/brooklyn-server/pull/623.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 #623
    
----
commit d7908ddf303fefa7f334c3b67380a77dab96824c
Author: graeme.miller <[email protected]>
Date:   2017-04-07T11:21:04Z

    BundleMaker copy fix

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to