# HG changeset patch # User jiefu # Date 1571379310 -28800 # Node ID 2e0462f4cf4e4332cdfe60ca178db50771284db8 # Parent 9f5b92d5a1b2f96636a36d5755e7356349105331 8232593: [TESTBUG] runtime/cds/CheckDefaultArchiveFile.java fails when cds is disabled Reviewed-by: iklam, dholmes diff -r 9f5b92d5a1b2 -r 2e0462f4cf4e 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