You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI Failure DoctorCI Failure - Run #23374241737 - JSpecifyAnnotationsCheck test fails on Java 21 #4345
The check job (compile + ErrorProne/NullAway) passed, confirming this is a test failure, not a compilation error.
The failing test is JSpecifyAnnotationsCheck > "exempted classes should not be annotated with @NullMarkedor@NullUnmarked".
Root Cause
The PR annotated 10graphql.language classes with @NullMarked, but only removed 6 of them from the JSPECIFY_EXEMPTION_LIST in JSpecifyAnnotationsCheck.groovy. Four classes were annotated with @NullMarked but never removed from the exemption list:
Class
Annotated with @NullMarked
Removed from exemption list
graphql.language.Comment
✅
✅
graphql.language.Definition
✅
✅
graphql.language.IgnoredChar
✅
✅
graphql.language.IgnoredChars
✅
✅
graphql.language.Node
✅
✅
graphql.language.NodeChildrenContainer
✅
✅
graphql.language.NodeVisitor
✅
❌ missing
graphql.language.NodeVisitorStub
✅
❌ missing
graphql.language.SourceLocation
✅
❌ missing
graphql.language.Type
✅
❌ missing
The second invariant in JSpecifyAnnotationsCheck.groovy requires that any class annotated with @NullMarked or @NullUnmarked must not appear in the exemption list — and vice versa.
Recommended Fix
In src/test/groovy/graphql/archunit/JSpecifyAnnotationsCheck.groovy, remove the following 4 entries from JSPECIFY_EXEMPTION_LIST:
Activity
dondonz commentedon Mar 21, 2026
This was correct