Prepend javac to the bootclasspath for ijar tests
This is a prerequisite for the next javac update, and mirrors the
approach used for other javac-based tests in Bazel (e.g.
BazelJavaCompilerTest).
@@ -157,6 +157,11 @@ java_test(
":interface_ijar_testlib",
":liblocal_and_anonymous_lib.jar",
":local_and_anonymous-interface.jar",
+ "//third_party/java/jdk/langtools:javac_jar",
+ ],
+ jvm_flags = [
+ # Simulates how Bazel invokes javac
+ "-Xbootclasspath/p:$(location //third_party/java/jdk/langtools:javac_jar)",
],
tags = ["zip"],
test_class = "IjarTests",
