Fix bazel build for jdk11.
Fix bazel build for jdk11.

PiperOrigin-RevId: 344807885

bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij