mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
04.30.2008 07e7542feb87af9ae616daa6ce631ec9b80541f5
Fix for issue 2795: CertificateManager.runKeyTool() doesn't close stdin stream
Close the OutputStream after writing on it as described in the issue report.
1 files modified
4 ■■■ changed files
opends/src/server/org/opends/server/util/CertificateManager.java 4 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/util/CertificateManager.java
@@ -787,7 +787,9 @@
          out.flush() ;
        }
      }
      // Close the output stream since it can generate a deadlock on IBM JVM
      // (issue 2795).
      out.close();
      while (true)
      {
        int bytesRead = inputStream.read(buffer);