File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -159,8 +159,9 @@ SBT_INTF=$(find_lib "*compiler-interface*")
159159JLINE_READER=$( find_lib " *jline-reader-3*" )
160160JLINE_TERMINAL=$( find_lib " *jline-terminal-3*" )
161161JLINE_TERMINAL_JNA=$( find_lib " *jline-terminal-jna-3*" )
162- [[ ${conemu-} ]] || JNA=$( find_lib " *jna-5*" )
163162
163+ # jna-5 only appropriate for some combinations
164+ [[ ${conemu-} && ${msys-} ]] || JNA=$( find_lib " *jna-5*" )
164165
165166compilerJavaClasspathArgs () {
166167 # echo "dotty-compiler: $DOTTY_COMP"
Original file line number Diff line number Diff line change @@ -67,8 +67,10 @@ if [ "$PROG_NAME" == "$ScriptingMain" ]; then
6767 scripting_string=" -script $target_script ${scripting_args[@]} "
6868fi
6969
70- # exec here would prevent onExit from being called, leaving terminal in unusable state
7170[ -n " $script_trace " ] && set -x
71+ [ -z " ${ConEmuPID-} " -o -n " ${cygwin-} " ] && export MSYSTEM= PWD= # workaround for #12405
72+
73+ # exec here would prevent onExit from being called, leaving terminal in unusable state
7274eval " \" $JAVACMD \" " \
7375 ${JAVA_OPTS:- $default_java_opts } \
7476 " ${java_args[@]} " \
You can’t perform that action at this time.
0 commit comments