Skip to content

Commit

Permalink
Fix more tests on JDK 9 and 10
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 211938679
  • Loading branch information
cushon authored and Copybara-Service committed Sep 7, 2018
1 parent 4566a42 commit 1e9f0aa
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions third_party/ijar/test/BUILD
Expand Up @@ -9,10 +9,10 @@ sh_test(
size = "enormous",
srcs = ["ijar_test.sh"],
args = [
"../local_jdk/bin/javac",
"../local_jdk/bin/java",
"../local_jdk/bin/jar",
"../local_jdk/bin/javap",
"$(JAVABASE)/bin/javac",
"$(JAVABASE)/bin/java",
"$(JAVABASE)/bin/jar",
"$(JAVABASE)/bin/javap",
"$(location //third_party/ijar)",
"$(location //tools/jdk:langtools)",
# We assume unzip and zip to be on the path
Expand Down Expand Up @@ -49,6 +49,9 @@ sh_test(
],
shard_count = 5,
tags = ["zip"],
toolchains = [
"@bazel_tools//tools/jdk:current_java_runtime",
],
)

sh_test(
Expand Down Expand Up @@ -273,11 +276,6 @@ java_test(
":liblocal_and_anonymous_lib.jar",
":local_and_anonymous-interface.jar",
":module_info-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",
Expand Down

0 comments on commit 1e9f0aa

Please sign in to comment.