8032222: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java fails on Mac OS with java.lang.RuntimeException
authormseledtsov
Tue, 25 Mar 2014 09:26:18 -0400
changeset 23514 8cc4189d9a2a
parent 23483 0130945560ee
child 23515 f4872ef5df09
8032222: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java fails on Mac OS with java.lang.RuntimeException Summary: Excluded the test from running on Mac OS Reviewed-by: coleenp, ctornqvi
hotspot/test/runtime/SharedArchiveFile/CdsWriteError.java
--- a/hotspot/test/runtime/SharedArchiveFile/CdsWriteError.java	Mon Mar 24 11:51:40 2014 -0700
+++ b/hotspot/test/runtime/SharedArchiveFile/CdsWriteError.java	Tue Mar 25 09:26:18 2014 -0400
@@ -22,7 +22,6 @@
  */
 
 /*
- * @ignore 8032222
  * @test CdsWriteError
  * @summary Test how VM handles situation when it is impossible to write the
  *          CDS archive. VM is expected to exit gracefully and display the
@@ -46,6 +45,12 @@
             return;
         }
 
+        // This test has been unstable for Mac OSx (see JDK-8032222)
+        if (Platform.isOSX()) {
+            System.out.println("This test is skipped on Mac");
+            return;
+        }
+
         String folderName = "tmp";
         String fileName = folderName + File.separator + "empty.jsa";