Skip to content

Commit 466676c

Browse files
authored
expand classpath of pathing jars in scala_legacy command (#21160)
I think it still be best to delete the command, but we should ensure it works if we're going to ship it this should have been part of #21121
2 parents e5ac6c5 + 22dce18 commit 466676c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/bin/scala_legacy

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ done
6565
# exec here would prevent onExit from being called, leaving terminal in unusable state
6666
compilerJavaClasspathArgs
6767
[ -z "${ConEmuPID-}" -o -n "${cygwin-}" ] && export MSYSTEM= PWD= # workaround for #12405
68-
eval "\"$JAVACMD\"" "${java_args[@]}" "-Dscala.home=\"$PROG_HOME\"" "-classpath \"$jvm_cp_args\"" "dotty.tools.MainGenericRunner" "-classpath \"$jvm_cp_args\"" "${scala_args[@]}"
68+
eval "\"$JAVACMD\"" "${java_args[@]}" "-Dscala.home=\"$PROG_HOME\"" "-classpath \"$jvm_cp_args\"" "-Dscala.expandjavacp=true" "dotty.tools.MainGenericRunner" "-classpath \"$jvm_cp_args\"" "${scala_args[@]}"
6969
scala_exit_status=$?
7070

7171

0 commit comments

Comments
 (0)