File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ def _java_runtime_rule_impl(ctx):
152152 platform_common .TemplateVariableInfo ({
153153 "JAVA" : java_binary_exec_path ,
154154 "JAVABASE" : java_home ,
155- "JAVA_ROOTPATH" : paths . join ( java_home_runfiles_path , "bin/java" ) ,
155+ "JAVA_ROOTPATH" : java_binary_runfiles_path ,
156156 "JAVABASE_ROOTPATH" : java_home_runfiles_path ,
157157 }),
158158 ToolchainInfo (java_runtime = java_runtime_info ),
Original file line number Diff line number Diff line change 1414
1515"""Experimental re-implementations of Java toolchain aliases using toolchain resolution."""
1616
17- load ("@bazel_skylib//lib:paths.bzl" , "paths" )
1817load ("//java/common:java_common.bzl" , "java_common" )
1918
2019def _java_runtime_alias (ctx ):
@@ -27,7 +26,7 @@ def _java_runtime_alias(ctx):
2726 platform_common .TemplateVariableInfo ({
2827 "JAVA" : str (toolchain .java_executable_exec_path ),
2928 "JAVABASE" : str (toolchain .java_home ),
30- "JAVA_ROOTPATH" : paths . join (toolchain .java_home_runfiles_path , "bin/java" ),
29+ "JAVA_ROOTPATH" : str (toolchain .java_executable_runfiles_path ),
3130 "JAVABASE_ROOTPATH" : str (toolchain .java_home_runfiles_path ),
3231 }),
3332 # See b/65239471 for related discussion of handling toolchain runfiles/data.
You can’t perform that action at this time.
0 commit comments