< prev index next >

test/lib/jdk/test/lib/cds/CDSOptions.java

Print this page

@@ -29,10 +29,11 @@
 public class CDSOptions {
     public String xShareMode = "on";
     public String archiveName;
     public ArrayList<String> prefix = new ArrayList<String>();
     public ArrayList<String> suffix = new ArrayList<String>();
+    public boolean useSystemArchive = false;
 
     // Indicate whether to append "-version" when using CDS Archive.
     // Most of tests will use '-version'
     public boolean useVersion = true;
 

@@ -66,6 +67,11 @@
 
     public CDSOptions setUseVersion(boolean use) {
         this.useVersion = use;
         return this;
     }
+
+    public CDSOptions setUseSystemArchive(boolean use) {
+        this.useSystemArchive = use;
+        return this;
+    }
 }
< prev index next >