Releases: typetools/checker-framework
Checker Framework 3.54.0
Version 3.54.0 (2026-03-02)
User-visible changes
Command-line arguments:
- Added
-AinferOutputDirectory. - Removed long-deprecated
-Alint=forbidnonnullarraycomponents.
New command-line argument -Aonelinemsg puts error messages on a single line. This is useful when using a tool that only shows the first line of the error.
The command-line argument -Anomsgtext surrounds the error key with brackets instead of parenthesis. This matches Java error messages.
Implementation details
In AnnotatedTypeFactory, canonicalAnnotation() returns a non-null value.
In AnnotationClassLoader:
- Renamed
hasWellDefinedTargetMetaAnnotation()toisTypeQualifierAnnotation(). The method now returnstruefor annotations bearing@InvisibleQualifieror@SubtypeOf, in addition to the existing@Target(TYPE_USE)check.
In TestDiagnostic:
- Renamed field
messagetokey. - Added new nullable field
messagefor the full message without the key.
Removed classes and methods that have been deprecated for more than two years.
Closed issues
Checker Framework 3.53.1
Checker Framework 3.53.0
Version 3.53.0 (2026-01-06)
Implementation details
In AbstractAnalysis, added getStoreBefore(Tree), getStoreBefore(Node),
getStoreAfter(Tree), and getStoreAfter(Node).
In GenericAnnotatedTypeFactory, removed getStoreBefore(Set<Node>) and getStoreAfter(Set<Node>).
Closed issues
Checker Framework 3.52.1
Checker Framework 3.52.0
Version 3.52.0 (2025-11-04)
Implementation details:
In CFAbstractAnalysis, renamed defaultCreateAbstractValue to getCfValue
In GenericAnnotatedTypeFactory:
- renamed
performFlowAnalysistoperformFlowAnalysisForClass - renamed
checkAndPerformFlowAnalysistoperformFlowAnalysisForClassOnce
Closed issues:
Checker Framework 3.51.1
Checker Framework 3.51.0
Version 3.51.0 (2025-09-10)
User-visible changes:
If you supply --add-exports flags when you run the Checker Framework, you need to add:
--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED.
Implementation details:
In CFGVisualizeOptions:
- renamed
isPDF()toisPdfOutput() - renamed
isString()toisStringOutput()
Dataflow Framework:
- In
playgroundpackage, renamed*Playground.javato*Pdf.java
Closed issues:
Checker Framework 3.50.0
Version 3.50.0 (2025-08-28)
User-visible changes:
If you supply --add-exports flags when you run the Checker Framework, you need to add:
--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED.
Implementation details:
Moved the Annotation File Utilities code into the Checker Framework repository as a subproject.
Checker Framework 3.49.5
Version 3.49.5 (June 30, 2025)
User-visible changes:
The Checker Framework runs under JDK 25 -- that is, it runs on a version 25 JVM.
Closed issues: