This change also removes the support for building with Java 9
and 10.
Test Plan:
* Run the tests with Java 8 toolchain (the same as before this change):
$ bazel test //...
* Run the tests with remote Java 11 toolchain (new feature added here):
$ bazel test --host_javabase=@bazel_tools//tools/jdk:remote_jdk11 \
--javabase=@bazel_tools//tools/jdk:remote_jdk11 \
--host_java_toolchain=@bazel_tools//tools/jdk:toolchain_java11 \
--java_toolchain=@bazel_tools//tools/jdk:toolchain_java11 \
//...
Change-Id: Ib67dcc50a43f998bc8f5a363a8f681e3693d1f26