--- a/langtools/test/tools/lib/ToolBox.java Thu Sep 04 08:48:29 2014 +0200
+++ b/langtools/test/tools/lib/ToolBox.java Thu Sep 04 08:49:20 2014 +0200
@@ -1568,6 +1568,20 @@
}
/**
+ * Sets whether or not the standard VM and java options for the test should be passed
+ * to the new VM instance. If this method is not called, the default behavior is that
+ * the options will be passed to the new VM instance.
+ *
+ * @param includeStandardOptions whether or not the standard VM and java options for
+ * the test should be passed to the new VM instance.
+ * @return this task object
+ */
+ public JavaTask includeStandardOptions(boolean includeStandardOptions) {
+ this.includeStandardOptions = includeStandardOptions;
+ return this;
+ }
+
+ /**
* {@inheritDoc}
* @return the name "java"
*/