Skip to content

Commit fca7208

Browse files
committed
Fix
1 parent 9f8a291 commit fca7208

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kotlin/internal/jvm/impl.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def _create_windows_exe_launcher(ctx, java_executable, classpath, main_class, jv
9797
launch_info.add(coverage_main_class, format = "jacoco_main_class=%s")
9898
launch_info.add_joined(classpath, map_each = _short_path, join_with = ";", format_joined = "classpath=%s", omit_if_empty = False)
9999
launch_info.add_joined(tokenized_jvm_flags, join_with = "\t", format_joined = "jvm_flags=%s", omit_if_empty = False)
100+
100101
# Use java_home_runfiles_path directly (same as rules_java)
101102
launch_info.add(java_runtime.java_home_runfiles_path, format = "jar_bin_path=%s/bin/jar.exe")
102103

@@ -138,7 +139,7 @@ def _write_launcher_action(ctx, rjars, main_class, jvm_flags, is_test = False):
138139
if _is_windows(ctx):
139140
# On Windows, symlink runfiles are typically disabled (manifest-based runfiles are used instead).
140141
# ctx.configuration.runfiles_enabled() is internal to rules_java and not available here.
141-
runfiles_enabled = False
142+
runfiles_enabled = True
142143
coverage_enabled = ctx.configuration.coverage_enabled
143144
if coverage_enabled:
144145
jacocorunner = ctx.toolchains[_TOOLCHAIN_TYPE].jacocorunner

0 commit comments

Comments
 (0)