< prev index next >

src/jdk.management/share/classes/com/sun/management/internal/HotSpotDiagnostic.java

Print this page
@@ -151,11 +151,11 @@
          Path file = Path.of(outputFile);
          if (!file.isAbsolute())
              throw new IllegalArgumentException("'outputFile' not absolute path");
  
          try (OutputStream out = Files.newOutputStream(file, StandardOpenOption.CREATE_NEW)) {
-                 dumpThreads(out, format);
+             dumpThreads(out, format);
          }
      }
  
      private void dumpThreads(OutputStream out, ThreadDumpFormat format) throws IOException {
          switch (format) {
< prev index next >