Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11095

How about Null check when closing inputstream object in JavaKeyStoreProvider#() ?

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.5.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Target Version/s:

      Description

      In the finally block:
      InputStream is = pwdFile.openStream();
      try

      { password = IOUtils.toCharArray(is); }

      finally

      { is.close(); }

      How about Null check when closing inputstream object?

        Attachments

        1. HADOOP-11095_001.patch
          0.7 kB
          skrho

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rsk13th skrho
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: