langtools/test/tools/lib/toolbox/JavacTask.java
changeset 40308 274367a99f98
parent 37758 3ecf9b414e05
child 44690 aec722d1b538
--- a/langtools/test/tools/lib/toolbox/JavacTask.java	Wed Aug 10 13:52:02 2016 -0700
+++ b/langtools/test/tools/lib/toolbox/JavacTask.java	Wed Aug 10 15:47:46 2016 -0700
@@ -176,6 +176,16 @@
     }
 
     /**
+     * Sets the options.
+     * @param options the options
+     * @return this task object
+     */
+    public JavacTask options(List<String> options) {
+        this.options = options;
+        return this;
+    }
+
+    /**
      * Sets the classes to be analyzed.
      * @param classes the classes
      * @return this task object