Skip to content

Commit b5db014

Browse files
committed
improve log messages for "JavaSearch"
1 parent aef096d commit b5db014

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/universalJavaApplicationStub

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ fi
538538
# check for any other or a specific Java version
539539
# also if $JAVA_HOME exists but isn't executable
540540
if [ -z "${JAVACMD}" ] || [ ! -x "${JAVACMD}" ] ; then
541-
stub_logger "[JavaSearch] Checking for JavaVirtualMachines on the system ..."
541+
stub_logger "[JavaSearch] Searching for JavaVirtualMachines on the system ..."
542542
# reset variables
543543
JAVACMD=""
544544
JAVACMD_version=""
@@ -603,6 +603,9 @@ if [ -z "${JAVACMD}" ] || [ ! -x "${JAVACMD}" ] ; then
603603

604604

605605
# determine JVMs matching the min/max version requirement
606+
607+
stub_logger "[JavaSearch] Filtering the result list for JVMs matching the min/max version requirement ..."
608+
606609
minC=$(get_comparable_java_version ${JVMVersion})
607610
maxC=$(get_comparable_java_version ${JVMMaxVersion})
608611
matchingJVMs=()
@@ -687,7 +690,7 @@ if [ -z "${JAVACMD}" ] || [ ! -x "${JAVACMD}" ] ; then
687690
# debug output
688691
for i in "${matchingJVMs[@]}"
689692
do
690-
stub_logger "[JavaSearch] ... ... matches all requirements: $i"
693+
stub_logger "[JavaSearch] ... matches all requirements: $i"
691694
done
692695

693696

0 commit comments

Comments
 (0)