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
--- 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";