Skip to content

Commit 514ab02

Browse files
author
Thomas Bao
committed
extra javac opts should override default ones
1 parent ac4181c commit 514ab02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scala/private/rule_impls.bzl

+1-2
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,9 @@ def compile_java(ctx, source_jars, source_files, output, extra_javac_opts, provi
157157
output = output,
158158
javac_opts = expand_location(
159159
ctx,
160-
extra_javac_opts +
161160
java_common.default_javac_opts(
162161
java_toolchain = java_toolchain,
163-
),
162+
) + extra_javac_opts,
164163
),
165164
deps = providers_of_dependencies,
166165
#exports can be empty since the manually created provider exposes exports

0 commit comments

Comments
 (0)