8229333: java/io/File/SetLastModified.java timed out

Brian Burkhalter brian.burkhalter at oracle.com
Tue Aug 27 18:00:24 UTC 2019


The failure reported in [1] was observed to occur on two Mac minis with HDDs. Given the large file access it is possibly due to slow disk access. The suggested fix is to increase the timeout [2]. If it is still observed at a later date a new issue can be filed.

Thanks,

Brian

[1] https://bugs.openjdk.java.net/browse/JDK-8229333
[2] diff:

@@ -22,11 +22,13 @@
  */
 
 /* @test
-   @bug 4091757 6652379 8177809
-   @summary Basic test for setLastModified method
+ * @bug 4091757 6652379 8177809
+ * @summary Basic test for setLastModified method
+ * @run main/timeout=180 SetLastModified
  */
 
-import java.io.*;
+import java.io.File;
+import java.io.FileOutputStream;
 import java.nio.ByteBuffer;
 import java.nio.channels.FileChannel;


More information about the core-libs-dev mailing list