< prev index next >

test/runtime/SharedArchiveFile/LimitSharedSizes.java

Print this page
rev 13329 : 8185436: jtreg: introduce @requires property to disable cds tests
Summary: Fix CompressedClassPointers test to succeed also if cds is not available.

@@ -19,11 +19,13 @@
  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
-/* @test LimitSharedSizes
+/**
+ * @test LimitSharedSizes
+ * @requires vm.cds
  * @summary Test handling of limits on shared space size
  * @requires (vm.opt.UseCompressedOops == null) | (vm.opt.UseCompressedOops == true)
  * @library /test/lib /runtime/CommandLine/OptionsValidation/common
  * @modules java.base/jdk.internal.misc
  *          java.management
< prev index next >