Skip to content

ShadowCopyAction still isn't closing all input streams #408

@roxchkplusony

Description

@roxchkplusony

Please check the User Guide before submitting "how do I do 'x'?" questions!

Shadow Version

2.0.4, 4.0.1

Gradle Version

4.10

Expected Behavior

Everyplace the code is calling archive.getInputStream or otherwise opening a stream should be closed. For example, copyArchiveEntry should close the inputStream from archive.getInputStream as IOUtils.copyLarge does not.

Actual Behavior

Our build process runs out of file handles while building our shadow jars.

Gradle Build Script(s)

Content of Shadow JAR (jar tf <jar file> - post link to GIST if too long)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions