aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ijar/test
diff options
context:
space:
mode:
authorGravatar cushon <cushon@google.com>2017-04-11 06:33:33 +0000
committerGravatar Jakob Buchgraber <buchgr@google.com>2017-04-11 10:50:30 +0200
commit7ac1eeb267da97d029c0b5462acf6a14f672f1a2 (patch)
treedb035488982b0a2b00b0b5a6b9188d02dcf8889b /third_party/ijar/test
parent4d70fae65c8b48d172cf32c83ef735766627f7fc (diff)
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). PiperOrigin-RevId: 152779250
Diffstat (limited to 'third_party/ijar/test')
-rw-r--r--third_party/ijar/test/BUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/ijar/test/BUILD b/third_party/ijar/test/BUILD
index 2687888c52..1450b36e53 100644
--- a/third_party/ijar/test/BUILD
+++ b/third_party/ijar/test/BUILD
@@ -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",