You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "skrho (JIRA)" <ji...@apache.org> on 2014/09/16 14:17:34 UTC
[jira] [Created] (HADOOP-11095) How about Null check when closing
inputstream object in JavaKeyStoreProvider#() ?
skrho created HADOOP-11095:
------------------------------
Summary: How about Null check when closing inputstream object in JavaKeyStoreProvider#() ?
Key: HADOOP-11095
URL: https://issues.apache.org/jira/browse/HADOOP-11095
Project: Hadoop Common
Issue Type: Improvement
Reporter: skrho
Priority: Minor
In the finally block:
InputStream is = pwdFile.openStream();
try {
password = IOUtils.toCharArray(is);
} finally {
is.close();
}
How about Null check when closing inputstream object?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)