8232593: [TESTBUG] runtime/cds/CheckDefaultArchiveFile.java fails when cds is disabled
Reviewed-by: iklam, dholmes
--- a/test/hotspot/jtreg/runtime/cds/CheckDefaultArchiveFile.java Fri Oct 18 09:57:20 2019 +0900
+++ b/test/hotspot/jtreg/runtime/cds/CheckDefaultArchiveFile.java Fri Oct 18 14:15:10 2019 +0800
@@ -25,6 +25,7 @@
* @test Default CDS archive file
* @summary JDK platforms/binaries do not support default CDS archive should
* not contain classes.jsa in the default location.
+ * @requires vm.cds
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox