langtools/test/tools/lib/ToolBox.java
changeset 26392 2bda2002e2f2
parent 26100 bb7dd001d190
child 27385 fb4a5f118316
--- 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"
          */