--- a/test/lib/jdk/test/lib/cds/CDSOptions.java Mon Oct 29 12:33:41 2018 -0700
+++ b/test/lib/jdk/test/lib/cds/CDSOptions.java Wed Oct 17 15:57:10 2018 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -31,6 +31,7 @@
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'
@@ -68,4 +69,9 @@
this.useVersion = use;
return this;
}
+
+ public CDSOptions setUseSystemArchive(boolean use) {
+ this.useSystemArchive = use;
+ return this;
+ }
}