8232593: [TESTBUG] runtime/cds/CheckDefaultArchiveFile.java fails when cds is disabled
authorjiefu
Fri, 18 Oct 2019 14:15:10 +0800
changeset 58684 2e0462f4cf4e
parent 58682 9f5b92d5a1b2
child 58685 4b13a908c2d0
8232593: [TESTBUG] runtime/cds/CheckDefaultArchiveFile.java fails when cds is disabled Reviewed-by: iklam, dholmes
test/hotspot/jtreg/runtime/cds/CheckDefaultArchiveFile.java
--- 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