Skip to content

Commit c5f3720

Browse files
committed
Bugfix
1 parent 90e2ea6 commit c5f3720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/starlark/builtins_bzl/common/java/java_runtime.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def _java_runtime_rule_impl(ctx):
100100
java_binary_exec_path = paths.get_relative(java_home, _get_bin_java(ctx))
101101
java_binary_runfiles_path = _get_runfiles_java_executable(ctx, java_home, ctx.label)
102102

103-
java = ctx.executable.java.path
103+
java = ctx.executable.java
104104
if java:
105105
if paths.is_absolute(java_home):
106106
fail("'java_home' with an absolute path requires 'java' to be empty.")

0 commit comments

Comments
 (0)