Skip to content

Commit

Permalink
fix running kotlin targets (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes authored Dec 11, 2024
1 parent e6fcd7d commit f054b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kotlin/internal/jvm/impl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _write_launcher_action(ctx, rjars, main_class, jvm_flags):
template = ctx.attr._java_stub_template.files.to_list()[0]

java_runtime = ctx.toolchains["@bazel_tools//tools/jdk:runtime_toolchain_type"].java_runtime
java_bin_path = java_runtime.java_executable_exec_path
java_bin_path = java_runtime.java_executable_runfiles_path

# Following https://github.com/bazelbuild/bazel/blob/6d5b084025a26f2f6d5041f7a9e8d302c590bc80/src/main/starlark/builtins_bzl/bazel/java/bazel_java_binary.bzl#L66-L67
# Enable the security manager past deprecation.
Expand Down

0 comments on commit f054b77

Please sign in to comment.