Commit 062c27c
authored
Test on JDK 25 (#1301)
We update to the latest WALA release, which supports running on JDK 25,
so we can re-enable JarInfer tests. Note that running JarInfer now does
not work on Temurin, since they exclude `.jmod` files from their
distribution (see [the WALA
docs](https://github.com/wala/WALA/wiki/Analysis-Scope)). So we switch
our CI JDKs to be from the Zulu distribution.
According to the CI job proposal from #1271, we should also be switching
to building on JDK 25, with a separate test job for JDK 21. I will hold
off on that for a bit (to check stability) and then do it in a separate
PR, along with an upgrade to Gradle 9.1.0 which supports running on JDK
25.
Fixes #1189
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- New Features
- Added compatibility with JDK 25 by expanding the supported Java
version matrix.
- Tests
- Updated toolchain and test tasks to target JDK 25.
- Removed a previous workaround that disabled a specific JDK test task.
- Chores
- Upgraded dependencies: WALA to 1.6.12 and Mockito to 5.19.0.
- Build/CI
- CI and test generation now include JDK 25; CI JDK distribution
switched to Zulu.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 43788a0 commit 062c27c
6 files changed
Lines changed: 10 additions & 14 deletions
File tree
- .github/workflows
- buildSrc/src/main/groovy
- gradle
- jar-infer/jar-infer-lib
- src/main/java/com/uber/nullaway/jarinfer
- jdk-recent-unit-tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | | - | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 53 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments