JDK 9 RFR of 8175041: Add success message to java/nio/channels/FileChannel/LoopingTruncate.java

Brian Burkhalter brian.burkhalter at oracle.com
Wed Feb 15 21:03:55 UTC 2017


Please review this trivial fix [1] for [2]. The intent is to add to the test log evidence that the test in fact completed.

Thanks,

Brian

[1] diff

--- a/test/java/nio/channels/FileChannel/LoopingTruncate.java
+++ b/test/java/nio/channels/FileChannel/LoopingTruncate.java
@@ -76,5 +76,8 @@
         } finally {
             Files.deleteIfExists(path);
         }
+
+        System.out.println("Test succeeded.");
+        System.out.flush();
     }
 }

[2] https://bugs.openjdk.java.net/browse/JDK-8175041
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20170215/cc899929/attachment.html>


More information about the nio-dev mailing list