5d020170ff
* Lower build requirement from Java 14+ to Java 11+ Avoid use of -Werror -Xlint:all, which may change significantly across java releases (new warnings could be added). Instead, just list the warnings individually. Workaround JDK 11 compiler bug (JDK-8209058) that only impacts test fixture code in the build itself. Signed-off-by: Robert Muir <rmuir@apache.org> * Disable warning around -source 7 -release 7 for java version checker The java version checker triggers some default warnings because it targets java7: ``` > Task :distribution:tools:java-version-checker:compileJava FAILED warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. error: warnings found and -Werror specified ``` Suppress this warning explicitly for this module. Signed-off-by: Robert Muir <rmuir@apache.org> * more java14 -> java11 cleanup Signed-off-by: Robert Muir <rmuir@apache.org> Co-authored-by: Robert Muir <rmuir@apache.org> |
||
---|---|---|
.. | ||
src/main/java/org/opensearch/tools/java_version_checker | ||
build.gradle |