8032222: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java fails on Mac OS with java.lang.RuntimeException

Excluded the test from running on Mac OS

Reviewed-by: coleenp, ctornqvi
This commit is contained in:
Mikhailo Seledtsov 2014-03-25 09:26:18 -04:00
parent 3273c46daf
commit 3c58faecfe

View file

@ -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 @@ public class CdsWriteError {
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";