Remove workaround for old JDK bug in JavaSubprocessFactory.

Failed in 2h 34m
:pipeline:
Print Test Summary for Shards
3/20
:mac: macOS (shard 2)curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1720176131 -o bazelci.py && python3 bazelci.py runner --task=macos_v2 --http_config=https://raw.githubusercontent.com/fweikert/bazel/macos_v2/.bazelci/postsubmit.yml
Waited 4s
·
Ran in 2h 33m
5/5
:mac: macOS arm64 (shard 4)curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1720176131 -o bazelci.py && python3 bazelci.py runner --task=macos_arm64_v2 --http_config=https://raw.githubusercontent.com/fweikert/bazel/macos_v2/.bazelci/postsubmit.yml
Waited 10s
·
Ran in 40m 47s
Total Job Run Time: 14h 1m