Skip to content

Releases: typetools/checker-framework

Checker Framework 2.0.1

01 Jun 23:00
Compare
Choose a tag to compare

Version 2.0.1, 1 June 2016

We renamed method annotateImplicit to addComputedTypeAnnotations. If you have implemented a checker, you need to change occurrences of annotateImplicit to addComputedTypeAnnotations.

The Checker Framework (checker.jar) is now placed on the processorpath during compilation. Previously, it was placed on the classpath. The qualifiers (checker-qual.jar) remain on the classpath. This change should reduce conflicts between your code and the Checker Framework. If your code depends on classes in the Checker Framework, then you should add those classes to the classpath when you run the compiler.

Closed issues:
738, 689, 720, 696, 707, 291, 740, 706, 705, 523, 736, 723, 698, 171, 250, 721, 577, 728, 688, 691, 704, 672, 702, 680, 695, 690

Checker Framework 2.0.0

03 May 03:48
Compare
Choose a tag to compare

Version 2.0.0, 2 May 2016

Inference:

  • The infer-and-annotate.sh script infers annotations and inserts them in your source code. This can reduce the burden of writing annotations and let you get started using a type system more quickly. See the "Whole-program inference" section in the manual for details.

Type systems:

  • The Lock Checker has been replaced by a new implementation that provides a stronger guarantee. The old Lock Checker prevented two threads from simultaneously using a given variable, but race conditions were still possible due to aliases. The new Lock Checker prevents two threads from simultaneously dereferencing a given value, and thus prevents race conditions. For details, see the "Lock Checker" chapter in the manual, which has been rewritten to describe the new semantics.
  • The top type qualifier for the Signature String type system has been renamed from @UnannotatedString to @SignatureUnknown. You shouldn't ever write this annotation, but if you perform separate compilation (for instance, if you do type-checking with the Signature String Checker against a library that is annotated with Signature String annotations), then you need to re-compile the library.
  • The IGJ, OIGJ, and Javari Checkers are no longer distributed with the Checker Framework. If you wish to use them, install version 1.9.13 of the Checker Framework. The implementations have been removed because they were not being maintained. The type systems are valuable, but the type-checkers should be rewritten from scratch.

Documentation improvements:

  • New manual section "Tips for creating a checker" shows how to break down the implementation of a type system into small, manageable pieces.
  • Improved instructions for using Maven and Gradle, including for Android code.

Tool changes:

  • The Checker Framework Live Demo webpage lets you try the Checker Framework without installing it: http://eisop.uwaterloo.ca/live/
  • New command-line arguments -Acfgviz and -Averbosecfg enable better debugging of the control-flow-graph generation step of type-checking.
  • New command-line argument -Ainfer is used by the infer-and-annotate.sh script that performs type inference.

Closed issues:
69, 86, 199, 299, 329, 421, 428, 557, 564, 573, 579, 665, 668, 669, 670, 671.

Checker Framework 1.9.13

01 Apr 21:20
Compare
Choose a tag to compare

Version 1.9.13, 1 April 2016

Documentation:

  • Clarified Maven documentation about use of annotations in comments.
  • Added FAQ about annotating fully-qualified type names.

Closed issues: 438, 572, 579, 607, 624, 631.

Checker Framework 1.9.12

04 Mar 01:38
Compare
Choose a tag to compare

Version 1.9.12, 1 March 2016

The Checker Framework distribution contains annotated versions of libraries in directory checker-framework/checker/lib/. During type-checking, you should put these versions first on your classpath, to obtain more precise type-checking with fewer false positive warnings.

tools.jar is no longer required to be on the classpath when using checker-qual.jar

The Signature String Checker supports two new string representations of a Java type: @InternalForm and @ClassGetSimpleName.

The manual documents how to run a pluggable type-checker in IntelliJ IDEA.

The instructions on how to run a type-checker in Gradle have been updated to use the artifacts in Maven Central. Examples using the instructions have been added under checker-framework/checker/examples/GradleExamples/.

Renamed enum DefaultLocation to TypeUseLocation.

Closed issues: 130, 263, 345, 458, 559, 559, 574, 582, 596.

Checker Framework 1.9.11

02 Feb 05:50
Compare
Choose a tag to compare

Version 1.9.11, 1 February 2016

Renamed and merged -AuseSafeDefaultsForUnannotatedSourceCode and
-AsafeDefaultsForUnannotatedBytecode command-line options to
-AuseDefaultsForUncheckedCode that takes arguments source and bytecode.

For type-system developers:

  • The previously deprecated
    org.checkerframework.framework.qual.TypeQualifier{s} annotations
    were removed.
  • Every type system uses the CLIMB-to-top defaulting scheme, unless it
    explicitly specifies a different one. Previously a type system needed
    to explicitly request CLIMB-to-top, but now it is the default.

Closed issues: 524, 563, 568.

Checker Framework 1.9.10

05 Jan 02:24
Compare
Choose a tag to compare

Version 1.9.10, 4 January 2016

The Checker Framework distribution files now contain a version number: for example, checker-framework-1.9.9.zip rather than checker-framework.zip.

Nullness Checker supports org.eclipse.jgit.annotations.Nullable and NonNull annotations.

Buildfiles do less unnecessary recomputation.

Documentation:

For type-system developers:

Closed issues: 169, 363, 448, 478, 496, 516, 529.

Checker Framework 1.9.9

04 Dec 03:59
Compare
Choose a tag to compare

Version 1.9.9, 1 December 2015

Fixed issues: 511, 513, 514, 455, 527.

Removed the javac_maven script and batch file,
which had been previously deprecated.

Checker Framework 1.9.8

10 Nov 04:57
Compare
Choose a tag to compare

Version 1.9.8, 9 November 2015

Field initialization warnings can now be suppressed for a single field at a
time, by placing @SuppressWarnings("initialization") on the field declaration.

Updated Maven instructions to no longer require a script.
Added an example of how to use the instructions under
checker/examples/MavenExample.

The javac_maven script (and batch file) are deprecated and will be
removed as of December 2015.

Fixed issues: 487, 500, 502.

Checker Framework 1.9.7

24 Oct 20:28
Compare
Choose a tag to compare

Version 1.9.7, 24 October 2015

Fixed issues: 291, 474.

Checker Framework 1.9.6

24 Oct 20:27
Compare
Choose a tag to compare

Version 1.9.6, 8 October 2015

Fixed issue: 460.