Use the host javac for bootstrapping now that the bootstrap build uses the VanillaJavaBuilder it is compatible with the host JDK's javac, and avoiding -Xbootclasspath/p makes the bootstrap build more compatible with JDK 9. See #5521 RELNOTES: N/A PiperOrigin-RevId: 205605294
diff --git a/src/java_tools/buildjar/BUILD b/src/java_tools/buildjar/BUILD index 999e9b5..32d8852 100644 --- a/src/java_tools/buildjar/BUILD +++ b/src/java_tools/buildjar/BUILD
@@ -90,7 +90,6 @@ # Using tiered compilation improves performance of Javac when not using the worker mode. "-XX:+TieredCompilation", "-XX:TieredStopAtLevel=1", - "-Xbootclasspath/p:$(location //third_party/java/jdk/langtools:javac_jar)", ], singlejar = ["//src/java_tools/singlejar:bootstrap_deploy.jar"], source_version = "8",