From 22dce185306a7e6923859e7d45e2adfac2903f36 Mon Sep 17 00:00:00 2001 From: Jamie Thompson Date: Wed, 10 Jul 2024 22:10:51 +0200 Subject: [PATCH] expand classpath in scala_legacy --- dist/bin/scala_legacy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/bin/scala_legacy b/dist/bin/scala_legacy index bd69d40c2b97..18fc6d874e34 100755 --- a/dist/bin/scala_legacy +++ b/dist/bin/scala_legacy @@ -65,7 +65,7 @@ done # exec here would prevent onExit from being called, leaving terminal in unusable state compilerJavaClasspathArgs [ -z "${ConEmuPID-}" -o -n "${cygwin-}" ] && export MSYSTEM= PWD= # workaround for #12405 -eval "\"$JAVACMD\"" "${java_args[@]}" "-Dscala.home=\"$PROG_HOME\"" "-classpath \"$jvm_cp_args\"" "dotty.tools.MainGenericRunner" "-classpath \"$jvm_cp_args\"" "${scala_args[@]}" +eval "\"$JAVACMD\"" "${java_args[@]}" "-Dscala.home=\"$PROG_HOME\"" "-classpath \"$jvm_cp_args\"" "-Dscala.expandjavacp=true" "dotty.tools.MainGenericRunner" "-classpath \"$jvm_cp_args\"" "${scala_args[@]}" scala_exit_status=$?