Fix turbine command lines with empty javacopts
See
@@ -549,9 +549,11 @@ public class JavaHeaderCompileAction extends SpawnAction {
result.addExecPaths("--source_jars", ImmutableList.copyOf(sourceJars));
}
+ if (!javacOpts.isEmpty()) {
result.addAll("--javacopts", javacOpts);
// terminate --javacopts with `--` to support javac flags that start with `--`
result.add("--");
+ }
if (ruleKind != null) {
result.add("--rule_kind", ruleKind);
