Merge pull request #334 from eed3si9n/wip/java_version

Fix sbt --client slowness
This commit is contained in:
eugene yokota 2020-10-19 15:48:50 -04:00 committed by GitHub
commit fb5961427e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -563,9 +563,6 @@ process_args () {
residual_args=()
process_my_args "${myargs[@]}"
}
java_version="$(jdk_version)"
vlog "[process_args] java_version = '$java_version'"
}
loadConfigFile() {
@ -671,7 +668,14 @@ set -- "${residual_args[@]}"
argumentCount=$#
if [[ "$(isRunNativeClient)" == "true" ]]; then
set -- "${residual_args[@]}"
argumentCount=$#
runNativeClient
else
java_version="$(jdk_version)"
vlog "[process_args] java_version = '$java_version'"
addDefaultMemory
set -- "${residual_args[@]}"
argumentCount=$#
run
fi