Skip to content

Commit 88bbc6f

Browse files
committed
Disable NullAway on OpenJ9
1 parent e34e11c commit 88bbc6f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/cross-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
strategy:
7070
fail-fast: false
7171
matrix:
72-
jdk: [ 24 ]
72+
jdk: [ 21 ]
7373
name: "OpenJ9 ${{ matrix.jdk }}"
7474
runs-on: ubuntu-latest
7575
steps:

gradle/plugins/common/src/main/kotlin/junitbuild.java-nullability-conventions.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ tasks.withType<JavaCompile>().configureEach {
2121
options.errorprone {
2222
disableAllChecks = true
2323
nullaway {
24-
enable()
24+
if (java.toolchain.implementation.orNull != JvmImplementation.J9) {
25+
enable()
26+
}
2527
isJSpecifyMode = true
2628
}
2729
}

0 commit comments

Comments
 (0)