Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 7f48f78

Browse files
michaelweisertofi86
authored andcommitted
Fix typo in JVMOptions expansion on java call
A curly brace is missing from the JVMOptions array expansion causing errors such as the following when JVMOptions are in use: Invalid maximum heap size: -Xmx1G[@]} Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
1 parent 254a843 commit 7f48f78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/universalJavaApplicationStub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ exec "${JAVACMD}" \
767767
-splash:"${ResourcesFolder}/${JVMSplashFile}" \
768768
-Xdock:icon="${ResourcesFolder}/${CFBundleIconFile}" \
769769
-Xdock:name="${CFBundleName}" \
770-
${JVMOptions:+"$JVMOptions[@]}" }\
770+
${JVMOptions:+"${JVMOptions[@]}" }\
771771
${JVMDefaultOptions:+$JVMDefaultOptions }\
772772
"${JVMMainClass}"\
773773
${MainArgsArr:+ "${MainArgsArr[@]}"}\

0 commit comments

Comments
 (0)