[ https://issues.apache.org/jira/browse/FLINK-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabian Hueske closed FLINK-2595. -------------------------------- Resolution: Fixed Fix Version/s: 0.10 Fixed with 2c9e2c8bbe1547709d820949d1739f7ea2ce89cf > Unclosed JarFile may leak resource in ClassLoaderUtilsTest > ---------------------------------------------------------- > > Key: FLINK-2595 > URL: https://issues.apache.org/jira/browse/FLINK-2595 > Project: Flink > Issue Type: Test > Reporter: Ted Yu > Priority: Minor > Fix For: 0.10 > > > Here is related code: > {code} > try { > new JarFile(validJar.getAbsolutePath()); > } > catch (Exception e) { > e.printStackTrace(); > fail("test setup broken: cannot create a > valid jar file"); > } > {code} > When no exception happens, the JarFile instance is not closed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)