Merge pull request #7535 from Pei-Tang Huang

* gh-7535:
  Quote $jarfile when creating arguments in launch script
This commit is contained in:
Andy Wilkinson
2016-12-02 11:33:34 +00:00

View File

@@ -133,7 +133,7 @@ else
exit 1
fi
arguments=(-Dsun.misc.URLClassPath.disableJarChecking=true $JAVA_OPTS -jar $jarfile $RUN_ARGS "$@")
arguments=(-Dsun.misc.URLClassPath.disableJarChecking=true $JAVA_OPTS -jar "$jarfile" $RUN_ARGS "$@")
# Action functions
start() {