flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-4096) Nested FileOutputStream is not closed in JarFileCreator
Date Mon, 20 Jun 2016 23:32:57 GMT
Ted Yu created FLINK-4096:
-----------------------------

             Summary: Nested FileOutputStream is not closed in JarFileCreator
                 Key: FLINK-4096
                 URL: https://issues.apache.org/jira/browse/FLINK-4096
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
    final JarOutputStream jos = new JarOutputStream(new FileOutputStream(this.outputFile),
new Manifest());
{code}
When jos is closed, the FileOutputStream is not automatically closed.

FileOutputStream should be closed explicitly.



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

Mime
View raw message