You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2015/08/18 04:32:45 UTC
[jira] [Created] (FLINK-2538) Potential resource leak in
ClassLoaderUtil#getUserCodeClassLoaderInfo()
Ted Yu created FLINK-2538:
-----------------------------
Summary: Potential resource leak in ClassLoaderUtil#getUserCodeClassLoaderInfo()
Key: FLINK-2538
URL: https://issues.apache.org/jira/browse/FLINK-2538
Project: Flink
Issue Type: Bug
Reporter: Ted Yu
Priority: Minor
In ClassLoaderUtil#getUserCodeClassLoaderInfo() around line 76:
{code}
else {
try {
new JarFile(filePath);
bld.append(" (valid JAR)");
}
catch (Exception e) {
bld.append(" (invalid JAR: ").append(e.getMessage()).append(')');
}
}
{code}
The JarFile isn't closed before returning, leading to potential resource leak.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)