--- old/test/lib/jdk/test/lib/cds/CDSOptions.java 2018-10-21 22:33:31.043114757 -0700 +++ new/test/lib/jdk/test/lib/cds/CDSOptions.java 2018-10-21 22:33:30.767104226 -0700 @@ -31,6 +31,7 @@ public String archiveName; public ArrayList prefix = new ArrayList(); public ArrayList suffix = new ArrayList(); + public boolean useSystemArchive = false; // Indicate whether to append "-version" when using CDS Archive. // Most of tests will use '-version' @@ -68,4 +69,9 @@ this.useVersion = use; return this; } + + public CDSOptions setUseSystemArchive(boolean use) { + this.useSystemArchive = use; + return this; + } }