aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java_tools
diff options
context:
space:
mode:
authorGravatar cushon <cushon@google.com>2018-07-22 20:02:42 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-22 20:03:39 -0700
commit17b217c0110e9bbc2145de563ab0d599c6339890 (patch)
treea2240330db358d5df53e27126c8d316191a1f602 /src/java_tools
parent1cb4dcf3bb6b40f536f1774a036c8bb30d9e329b (diff)
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
Diffstat (limited to 'src/java_tools')
-rw-r--r--src/java_tools/buildjar/BUILD1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/java_tools/buildjar/BUILD b/src/java_tools/buildjar/BUILD
index 999e9b5b51..32d8852803 100644
--- a/src/java_tools/buildjar/BUILD
+++ b/src/java_tools/buildjar/BUILD
@@ -90,7 +90,6 @@ java_toolchain(
# 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",