-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unblock Bazel JDK 21 upgrade by patching RJE with upstream commit 5a78bc62 #21479
Conversation
f85837e
to
b665125
Compare
On the presubmit failures: the distdir logic seems to have an issue with looking for
|
The r_j_e patch doesn't look fully correct to me as it uses the Java compilation runtime, not the tool runtime configured via |
Thanks @fmeum, done. |
Failures look legit on the arm64 Windows build:
|
The Windows arm64 build cross-compiles on amd64 for arm64. It looks like the |
Ah, nvm, I still got this wrong in r_j_e. The runtime toolchain is selected for the target configuration. Instead, we could wrap the Edit: Not at a computer right now, but I can submit a fix for the fix later. |
@jin It actually looks like r_j_e had this correct before bazel-contrib/rules_jvm_external#1058. |
@fmeum dug into it a bit more - you're right, the original bazel patch just needed |
Context: bazel-contrib/rules_jvm_external#895 (comment)
This updates RJE to unblock building Bazel itself with Java 21.