changeset 23514:8cc4189d9a2a

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
author mseledtsov
date Tue, 25 Mar 2014 09:26:18 -0400
parents 0130945560ee
children f4872ef5df09
files hotspot/test/runtime/SharedArchiveFile/CdsWriteError.java
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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";