Add/fix default values for optional fields in java_common.compile.
@@ -128,6 +128,7 @@ public class JavaSkylarkCommon {
named = true,
type = SkylarkList.class,
generic1 = String.class,
+ defaultValue = "[]",
doc = "A list of the desired javac options. Optional."
),
@Param(
@@ -136,11 +137,12 @@ public class JavaSkylarkCommon {
named = true,
type = SkylarkList.class,
generic1 = JavaProvider.class,
+ defaultValue = "[]",
doc = "A list of dependencies. Optional."
),
@Param(
name = "strict_deps",
- defaultValue = "OFF",
+ defaultValue = "'ERROR'",
positional = false,
named = true,
type = String.class,
