test/tools/sjavac/JavacOptionPrep.java
Print this page
rev 2819 : imported patch my-classpath-deps-00
@@ -80,10 +80,11 @@
// Extract javac-options
String[] javacArgs = options.prepJavacArgs();
// Check the result
boolean destDirFound = false;
+ boolean userPathsFirst = false;
boolean headerDirFound = false;
boolean gensrcDirFound = false;
boolean classPathFound = false;
boolean sourcePathFound = false;
boolean unrecognizedFound = false;
@@ -163,11 +164,10 @@
if (!unrecognizedFound)
throw new AssertionError("\"-unrecognized\" not found.");
if (!implicitNoneFound)
throw new AssertionError("\"-implicit:none\" not found.");
-
}
static void assertEquals(Object expected, Object actual) {
if (!expected.equals(actual))
throw new AssertionError("Expected " + expected + " but got " + actual);