OpenSearch/distribution
Jason Tedor bd538aa72c Ignore JVM options before checking Java version
Today we strip some ignored JVM options before starting the main Java
process (e.g., we unset JAVA_TOOL_OPTIONS, and we ignore
JAVA_OPTS). However, there is another Java process that we start before
starting the main process: the Java version checker. We are currently
starting this before ignoring the undesired JVM options so the Java
version checker will pick up JAVA_TOOL_OPTIONS and it will silently
ignore JAVA_OPTS. Instead, we should ignore JAVA_TOOL_OPTIONS here too,
and not silently ignore JAVA_OPTS but instead warn before doing so (as
we already do for the main Java process). This commit rearranges the
execution of these steps so that we do the right thing here.

Relates #25969
2017-07-31 11:41:27 +09:00
..
bwc bwc checkout should fetch from all remotes 2017-07-07 13:39:24 +02:00
deb Introduce elasticsearch-env 2017-07-21 09:38:49 +09:00
integ-test-zip Shade external dependencies in the rest client jar 2017-07-24 12:55:43 -05:00
rpm Introduce elasticsearch-env 2017-07-21 09:38:49 +09:00
src/main Ignore JVM options before checking Java version 2017-07-31 11:41:27 +09:00
tar Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
tools Fix checkstyle violation in remove plugin tests 2017-07-28 14:52:11 +09:00
zip Tests: Change rest test extension from .yaml to .yml (#24659) 2017-05-16 17:24:35 -07:00
build.gradle Introduce elasticsearch-env 2017-07-21 09:38:49 +09:00