diff --git a/test/shell/test_twitter_scrooge.sh b/test/shell/test_twitter_scrooge.sh index a61e065d3..6bf4aceb8 100644 --- a/test/shell/test_twitter_scrooge.sh +++ b/test/shell/test_twitter_scrooge.sh @@ -5,13 +5,7 @@ dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) runner=$(get_test_runner "${1:-local}") scrooge_compile_with_jdk_11() { - # javabase and java_toolchain parameters are deprecated and may be - # removed in Bazel >= 5.0.0 - bazel build --javabase=@rules_java//toolchains:remote_jdk11 \ - --host_javabase=@rules_java//toolchains:remote_jdk11 \ - --host_java_toolchain=@rules_java//toolchains:toolchain_java11 \ - --java_toolchain=@rules_java//toolchains:toolchain_java11 \ - --javacopt='--release 11' \ + bazel build \ --java_language_version=11 \ --tool_java_language_version=11 \ --java_runtime_version=remotejdk_11 \