< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/cacheObject/CheckIntegerCacheApp.java

Print this page
@@ -25,10 +25,16 @@
  //
  // Help test archived box cache consistency.
  //
  // args[0]: the expected maximum value expected to be archived
  //
+ 
+ /*
+  * test
+  * @run main CheckIntegerCacheApp
+  * @run main/othervm --enable-preview CheckIntegerCacheApp
+  */
  public class CheckIntegerCacheApp {
      public static void main(String[] args) throws Exception {
          if (args.length != 1) {
              throw new RuntimeException(
                      "FAILED. Incorrect argument length: " + args.length);
< prev index next >