aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManu Sridharan <msridhar@gmail.com>2024-01-03 12:57:03 -0500
committerGitHub <noreply@github.com>2024-01-03 12:57:03 -0500
commitb5cd1f9010f1a09ddb4b9f81dcade81e195362ab (patch)
treefac2682e2dc598fdec94a92fabbc6d46070113a3
parent6da0b8dc43b7f71d0287847f865f39cd3b4b11d4 (diff)
downloadnullaway-b5cd1f9010f1a09ddb4b9f81dcade81e195362ab.tar.gz
Update to WALA 1.6.3 (#887)
Fixes #829 WALA 1.6.3 supports running on JDK 21, so JarInfer now runs on JDK 21 and the tests pass.
-rwxr-xr-xgradle/dependencies.gradle2
-rw-r--r--jar-infer/jar-infer-lib/build.gradle6
2 files changed, 1 insertions, 7 deletions
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index 26fc151..9916951 100755
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -48,7 +48,7 @@ def versions = [
// The version of Error Prone that NullAway is compiled and tested against
errorProneApi : errorProneVersionToCompileAgainst,
support : "27.1.1",
- wala : "1.6.2",
+ wala : "1.6.3",
commonscli : "1.4",
autoValue : "1.10.2",
autoService : "1.1.1",
diff --git a/jar-infer/jar-infer-lib/build.gradle b/jar-infer/jar-infer-lib/build.gradle
index 2ae8bea..8ea4f9b 100644
--- a/jar-infer/jar-infer-lib/build.gradle
+++ b/jar-infer/jar-infer-lib/build.gradle
@@ -51,12 +51,6 @@ test {
dependsOn ':jar-infer:test-android-lib-jarinfer:bundleReleaseAar'
}
-tasks.named('testJdk21', Test).configure {
- // Tests fail since WALA does not yet support JDK 21; see https://github.com/uber/NullAway/issues/829
- // So, disable them
- onlyIf { false }
-}
-
tasks.withType(JavaCompile).configureEach {
options.compilerArgs += "--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED"
}