**Link to relevant issue and/or commit:** https://github.com/bazelbuild/bazel/pull/23609 **Other details:** java_tools 13.9.0 rules_java 7.12.0 cc @bazelbuild/triage