langtools/test/tools/sjavac/JavacOptionPrep.java
changeset 31115 8d8e98052d5d
parent 30730 d3ce7619db2c
child 32337 c9d3ab9f601c
--- a/langtools/test/tools/sjavac/JavacOptionPrep.java	Tue Jun 09 11:52:13 2015 +0200
+++ b/langtools/test/tools/sjavac/JavacOptionPrep.java	Tue Jun 09 15:57:45 2015 +0200
@@ -83,6 +83,7 @@
 
         // Check the result
         boolean destDirFound = false;
+        boolean userPathsFirst = false;
         boolean headerDirFound = false;
         boolean gensrcDirFound = false;
         boolean classPathFound = false;
@@ -95,6 +96,11 @@
 
             String option = javacArgIter.next();
 
+            // Ignore this option for now. When the file=... requirement goes
+            // away, this will be easier to handle.
+            if (option.startsWith("-XDcompletionDeps"))
+                continue;
+
             switch (option) {
             case "-classpath":
             case "-cp":
@@ -166,7 +172,6 @@
 
         if (!implicitNoneFound)
             throw new AssertionError("\"-implicit:none\" not found.");
-
     }
 
     static void assertEquals(Object expected, Object actual) {