OpenSearch/distribution
Jason Tedor 0a79555a12
Require JDK 9 for compilation (#28071)
This commit modifies the build to require JDK 9 for
compilation. Henceforth, we will compile with a JDK 9 compiler targeting
JDK 8 as the class file format. Optionally, RUNTIME_JAVA_HOME can be set
as the runtime JDK used for running tests. To enable this change, we
separate the meaning of the compiler Java home versus the runtime Java
home. If the runtime Java home is not set (via RUNTIME_JAVA_HOME) then
we fallback to using JAVA_HOME as the runtime Java home. This enables:
 - developers only have to set one Java home (JAVA_HOME)
 - developers can set an optional Java home (RUNTIME_JAVA_HOME) to test
   on the minimum supported runtime
 - we can test compiling with JDK 9 running on JDK 8 and compiling with
   JDK 9 running on JDK 9 in CI
2018-01-16 13:45:13 -05:00
..
bwc Require JDK 9 for compilation (#28071) 2018-01-16 13:45:13 -05:00
deb Remove RPM and Debian integration tests 2017-12-11 15:40:10 -05:00
integ-test-zip Enable GC logs by default 2017-12-03 08:33:21 -05:00
rpm Remove RPM and Debian integration tests 2017-12-11 15:40:10 -05:00
src/main Pass `java.locale.providers=COMPAT` to Java 9 onwards (#28080) 2018-01-04 16:43:51 +01:00
tar Enable GC logs by default 2017-12-03 08:33:21 -05:00
tools Make sure that we don't detect files as maven coordinate when installing a plugin (#28163) 2018-01-10 14:59:37 +01:00
zip Enable GC logs by default 2017-12-03 08:33:21 -05:00
build.gradle Rename core module to server (#28180) 2018-01-11 11:30:43 -07:00