changeset 58684:2e0462f4cf4e

8232593: [TESTBUG] runtime/cds/CheckDefaultArchiveFile.java fails when cds is disabled Reviewed-by: iklam, dholmes
author jiefu
date Fri, 18 Oct 2019 14:15:10 +0800
parents 9f5b92d5a1b2
children 4b13a908c2d0
files test/hotspot/jtreg/runtime/cds/CheckDefaultArchiveFile.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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