From 55d85818078bc4dd31434b87a6948934c7ee159b Mon Sep 17 00:00:00 2001 From: Walter Leibbrandt <23798+walterl@users.noreply.github.com> Date: Thu, 8 Aug 2019 17:29:26 +0200 Subject: [PATCH] Remove `--add-modules=java.xml.bind` Java option (#10521) Fixes #10244. @camsaul confirmed that it is no longer needed. --- bin/start | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/start b/bin/start index 4ea1d92aeba..1726cb7bfad 100755 --- a/bin/start +++ b/bin/start @@ -117,7 +117,6 @@ fi JAVA_OPTS="$JAVA_OPTS -XX:+IgnoreUnrecognizedVMOptions" # Don't barf if we see an option we don't understand (e.g. Java 9 option on Java 7/8) JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true" # don't try to start AWT. Not sure this does anything but better safe than wasting memory JAVA_OPTS="$JAVA_OPTS -Dfile.encoding=UTF-8" # Use UTF-8 -JAVA_OPTS="$JAVA_OPTS --add-modules=java.xml.bind" # Enable access to java.xml.bind module (Java 9) echo "Using these JAVA_OPTS: ${JAVA_OPTS}" -- GitLab