GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Releases · typetools/checker-framework

Releases · typetools/checker-framework

Checker Framework 4.4.0

Checker Framework 4.4.0 Latest
Latest
@smillst smillst released this 02 Nov 19:32
Immutable release. Only release title and notes can be modified.
checker-framework-4.4.0
1603378

Version 4.4.0 (2026-11-02)

User-visible changes

A method with a purity annotation may call the functional method of one of its functional-interface parameters, such as f.apply(x) for a parameter Function f; the call is treated as having the method's purity. In exchange, under -AcheckPurityAnnotations, each argument passed to such a parameter must have that purity, or the new error purity.functional.argument is issued. This affects calls to JDK methods such as Optional.map and Comparator.comparing that are passed lambdas with side effects, and calls to @Pure methods such as Objects.requireNonNull(T, Supplier) that are passed a lambda that is not deterministic, such as one that calls String.format. See the manual section "Lambdas, method references, and functional interfaces".

Changes for type system implementers

New class AbstractSetInclusionQualifierHierarchy is the superclass of SubtypeIsSubsetQualifierHierarchy and SubtypeIsSupersetQualifierHierarchy.

Removed TreeUtils.hasSyntheticArgument(), which always returned false.

A subclass of CFAbstractValue or CFValue that adds state must override equals() and hashCode() to account for that state.

New method BaseTypeVisitor.shouldSkipClass() lets a checker skip a class entirely, including dataflow analysis.

Removed classes ByteMath, ShortMath, IntegerMath, LongMath, FloatMath, and DoubleMath. Use NumberMath.getNumberMath() instead. NumberMath is now a final, non-generic class. NumberMath.getNumberMath() throws UnsupportedOperationException, rather than returning null, for an unsupported Number subclass, such as BigInteger.

PurityChecker.checkPurity() takes two new arguments: the method declaration that lexically encloses the statement being checked (or null, as for an arbitrary expression) and the processing environment.

Renamed ControlFlowGraph.convertedTreeLookup to implicitlyConvertedTreeLookup and CFGTranslationPhaseOne.addToConvertedLookupMap() to addToImplicitlyConvertedLookupMap().

Deprecated methods:

  • DisallowedSideEffects.noArgumentMethod() => ElementUtils.resolveNoArgumentCall()

Closed issues

#6849, #6864, #6872, #8018, #8300, #8320, #8323, #8340, #8343.

Assets 4
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Checker Framework 4.3.1

Checker Framework 4.3.1
@smillst smillst released this 08 Oct 17:15
Immutable release. Only release title and notes can be modified.
checker-framework-4.3.1
8987859

Version 4.3.1 (2026-10-08)

Closed issues

#8325.

Assets 4
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Checker Framework 4.3.0

Checker Framework 4.3.0
@smillst smillst released this 01 Oct 20:26
Immutable release. Only release title and notes can be modified.
checker-framework-4.3.0
a850bea

Version 4.3.0 (2026-10-01)

User-visible changes

The new Modifiability Checker warns when a program might throw UnsupportedOperationException at run time because it calls a mutating method on a collection that does not support the method.

The new wpi2.sh script does whole-program inference, but requires buildfile edits.

Purity Checker:

  • Renamed message keys purity.not.deterministic.X, purity.not.sideeffectfree.X, and purity.not.deterministic.not.sideeffectfree.X to purity.X.
  • -AcheckPurityAnnotations issues warnings that it missed previously.

The Checker Framework runs under JDK 27 -- that is, it runs on a version 27 JVM.

The Checker Framework runs noticeably faster, due to performance tuning.

The HTML version of the manual has a new look. In addition to the single-page version, there is a multi-page version.

Changes for type system implementers

JavaParserUtil: moved DEFAULT_LANGUAGE_LEVEL, parseCompilationUnit(), parseStubUnit(), and parseExpression() into new class StaticJavaParserUtil.

Renamed AnnotatedTypes.innerMostType() to innermostComponentType().

Removed the unused method
WholeProgramInferenceScenesStorage.updateAnnotationSetInScene().

Methods that used to return (or accept) an IPair now use a record with meaningful component names.

Closed issues

#294, #1170, #1184, #1256, #1440, #1444, #1669, #2090, #2172, #2429, #2448, #2561, #2637, #2704, #2722, #2770, #2896, #2995, #3015, #3025, #3027, #3146, #3281, #3624, #4690, #4708, #4754, #5064, #5201, #6038, #6716, #6741, #6748, #6756, #6768, #6832, #6881, #7023, #7049, #7064, #7311, #7683, #8053, #8054, #8055, #8167, #8168, #8169, #8238, #8261, #8284.

Assets 4
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Checker Framework 4.2.3

Checker Framework 4.2.3
@smillst smillst released this 01 Sep 19:14
Immutable release. Only release title and notes can be modified.
checker-framework-4.2.3
ddd330d

Version 4.2.3 (2026-09-01)

User-visible changes

The -AsuggestPureMethods command-line option and the purity.effectively.pure warning no longer require -AcheckPurityAnnotations to also be supplied.

Implementation details

Made the field Java8InferenceContext.pathToExpression private; use getPathToExpression() and setPathToExpression() instead.

Renamed TreeUtils.isLikeDiamondMemberReference() to isRawTypedMemberReference().

Closed issues

#2816, #7677, #7678, #7681, #7682, #7684, #7693, #7694, #7696, #7698, #7701, #7702, #7875, #8046, #8047, #8048, #8050, #8052.

Assets 4
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Checker Framework 4.2.2

Checker Framework 4.2.2
@smillst smillst released this 06 Aug 19:17
Immutable release. Only release title and notes can be modified.
checker-framework-4.2.2
2dc79ee

Version 4.2.2 (2026-08-06)

Implementation details

Renamed CFAbstractValue.validateSet() to hasAnnotationFromEveryHierarchy().

Closed issues

#7723, #7784, #7806.

Assets 4
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Checker Framework 4.2.1

Checker Framework 4.2.1
@smillst smillst released this 01 Jul 18:06
Immutable release. Only release title and notes can be modified.
checker-framework-4.2.1
ef8cecd

Version 4.2.1 (2026-07-01)

Closed issues

#7726.

Assets 4
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Checker Framework 4.2.0

Checker Framework 4.2.0
@smillst smillst released this 01 Jun 18:52
Immutable release. Only release title and notes can be modified.
checker-framework-4.2.0
231e855

Version 4.2.0 (2026-06-01)

User-visible changes

Renamed error message key "createsmustcallfor.target.unparseable" to "createsmustcallfor.target.unparsable".

Implementation details

In AnnotatedTypeFactory:

  • new overload canonicalAnnotation(AnnotationMirror, TypeMirror).

In TypeHierarchy:

  • new methods equalsShallowEffective().

Closed issues

#7676, #7679, #7680, #7695, #7697, #7699, #7700, #7727.

Assets 4
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Checker Framework 4.1.0

Checker Framework 4.1.0
@smillst smillst released this 01 May 19:28
Immutable release. Only release title and notes can be modified.
checker-framework-4.1.0
b8a7ca6

Version 4.1.0 (2026-05-01)

User-visible changes

Removed deprecated script checker/bin-devel/build.sh; use ./gradlew assemble instead.

Removed deprecated names "builder", "object.construction", and "objectconstruction" for the Called Methods Checker.

Implementation details

New method annotation @DoesNotUnrefineReceiver.

In AnnotatedTypeFactory:

  • new method hasDoesNotUnrefineReceiver().
  • isAliasedTypeAnnotation() is now protected rather than public.

Closed issues

#6890, #7364, #7488.

Assets 4
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Release 4.0.0 of the Checker Framework

Release 4.0.0 of the Checker Framework
@smillst smillst released this 07 Apr 23:06
checker-framework-4.0.0
479d087

Version 4.0.0 (2026-04-07)

User-visible changes

To run the Checker Framework, you need to use a JDK 17 or later version of javac. That is, you need to use JDK 17 or later when compiling your code.

The Checker Framework can type-check any Java project, including projects that compile to Java 8 or 11 bytecodes and run on JRE versions 8 or 11. That is, your code can run under any release of Java, from Java 8 onward.

The type qualifiers and utility libraries in checker-qual.jar and checker-util.jar still use Java 11 bytecode. Thus, they may be used in projects that run under Java 11 or later.

Changes since version 3.0.0

Since version 3.0.0, 91 authors have made over 4500 commits and closed over 600 issues. Thanks to everyone who contributed!

New checkers include:

  • The Index Checker warns about out-of-bounds accesses to arrays and strings.
  • The Initialized Fields Checker warns if a constructor does not initialize a field.
  • The Resource Leak Checker guarantees that every resource is closed rather than leaked. Examples of resources are a channel, executor, ExecutionControl, file, FileLock, Formatter, reader, Scanner, socket, stream, writer, etc.
  • The SQL Quotes Checker helps prevent SQL injection vulnerabilities.

New command-line arguments include:

  • -AskipFiles, -AonlyFiles
  • -AassumeSideEffectFree, -AassumeDeterministic, -AassumePure, -AassumePureGetters
  • -AuseConservativeDefaultsForUncheckedCode
  • -AignoreRawTypeArguments
  • -AwarnRedundantAnnotations
  • -Ainfer=ajava, -AinferOutputDirectory, -AinferOutputOriginal, -AshowWpiFailedInferences
  • -AshowSuppressWarningsStrings, -AwarnUnneededSuppressionsExceptions
  • -AshowPrefixInWarningMessages
  • -AstubNoWarnIfNotFound, -AstubWarnNote, -AmergeStubsWithSource
  • -Aonelinemsg, -AdumpOnErrors, -AexceptionLineSeparator
  • -ApermitMissingJdk, -AparseAllJdk
  • -AslowTypecheckingSeconds
  • -Aversion, -AprintGitProperties
  • You can pass an option to only a particular checker (not all checkers) by using an underscore prefix.

Other improvements include thousands of enhancements and bug fixes -- too many to list here.

Implementation details

All previously-deprecated methods and classes have been removed. If your project builds upon the Checker Framework, we suggest that you upgrade to version 3.55.1, resolve all the deprecation warnings, then upgrade to version 4.0.0.

Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

Checker Framework 3.55.1

Checker Framework 3.55.1
@mernst mernst released this 03 Apr 22:19
checker-framework-3.55.1
bf4ceb7

Version 3.55.1 (2026-04-03)

No user-visible changes.

Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.