diff -r 7cc7de9bf4a4 -r 7312ae4465d6 test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/PatchJavaBase.java --- a/test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/PatchJavaBase.java Tue Dec 19 06:29:17 2017 -0500 +++ b/test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/PatchJavaBase.java Mon Dec 04 08:59:47 2017 -0800 @@ -24,7 +24,7 @@ /* * @test - * @requires (vm.opt.UseCompressedOops == null) | (vm.opt.UseCompressedOops == true) + * @requires vm.cds * @summary sharing is disabled if java.base is patch at runtime * @library ../.. * @library /test/hotspot/jtreg/testlibrary