Terminate --javacopts in tests with --
@@ -83,6 +83,7 @@ public class VanillaJavaBuilderTest {
ImmutableList.of(
"--javacopts",
"-Xep:FallThrough:ERROR",
+ "--",
"--sources",
source.toString(),
"--source_jars",
@@ -127,6 +128,7 @@ public class VanillaJavaBuilderTest {
"--javacopts",
"-Xlint:all",
"-Werror",
+ "--",
"--sources",
source.toString(),
"--output",
@@ -165,6 +167,7 @@ public class VanillaJavaBuilderTest {
"-source",
"7",
"-Xlint:none",
+ "--",
"--sources",
source.toString(),
"--output",
@@ -206,6 +209,7 @@ public class VanillaJavaBuilderTest {
ImmutableList.of(
"--javacopts",
"-Xep:FallThrough:ERROR",
+ "--",
"--sources",
source.toString(),
"--source_jars",
