Remove hard-coded -Xbootclasspath/p flags for javac and turbine invocations
And instead rely on the flags being set in java_toolchain.jvm_opts.
This change is being made in preparation for JDK 9, which replaces
-Xbootclasspath/p with --patch-module.
PiperOrigin-RevId: 161620182
diff --git a/tools/jdk/BUILD b/tools/jdk/BUILD
index 51bcdfe..12f4fed 100644
--- a/tools/jdk/BUILD
+++ b/tools/jdk/BUILD
@@ -159,6 +159,7 @@
jvm_opts = [
"-XX:+TieredCompilation",
"-XX:TieredStopAtLevel=1",
+ "-Xbootclasspath/p:$(location //third_party/java/jdk/langtools:javac_jar)",
],
misc = [
"-XDskipDuplicateBridges=true",