mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
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:
parent
3273c46daf
commit
3c58faecfe
1 changed files with 6 additions and 1 deletions
|
@ -22,7 +22,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @ignore 8032222
|
|
||||||
* @test CdsWriteError
|
* @test CdsWriteError
|
||||||
* @summary Test how VM handles situation when it is impossible to write the
|
* @summary Test how VM handles situation when it is impossible to write the
|
||||||
* CDS archive. VM is expected to exit gracefully and display the
|
* CDS archive. VM is expected to exit gracefully and display the
|
||||||
|
@ -46,6 +45,12 @@ public class CdsWriteError {
|
||||||
return;
|
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 folderName = "tmp";
|
||||||
String fileName = folderName + File.separator + "empty.jsa";
|
String fileName = folderName + File.separator + "empty.jsa";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue