Skip to content

Commit 6147c82

Browse files
authored
Remove references to the defunct Object Construction Checker
1 parent 936a6d0 commit 6147c82

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

checker-qual/src/main/java/org/checkerframework/checker/mustcall/qual/MustCall.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
* An expression of type {@code @MustCall({"m1", "m2"})} may be obligated to call {@code m1()}
1414
* and/or {@code m2()} before it is deallocated, but it is not obligated to call any other methods.
1515
*
16-
* <p>This annotation is enforced by the Object Construction Checker's {@code -AcheckMustCall} mode.
17-
* It enforces that the methods {@code m1()} and {@code m2()} are called on the annotated expression
18-
* before it is deallocated.
16+
* <p>This annotation can be enforced by running the Resource Leak Checker. It enforces that the
17+
* methods {@code m1()} and {@code m2()} are called on the annotated expression before it is
18+
* deallocated.
1919
*
2020
* <p>The subtyping relationship is:
2121
*

checker-qual/src/main/java/org/checkerframework/checker/mustcall/qual/MustCallUnknown.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
* obligation to call any set (even an infinite set!) of methods. This type contains every object.
1212
* This type should rarely be written by a programmer.
1313
*
14-
* <p>The Object Construction Checker cannot verify that the property represented by this annotation
15-
* is enforced; that is, the Object Construction Checker will always issue a warning when the value
16-
* of an expression with this type might be de-allocated.
14+
* <p>The Resource Leak Checker cannot verify that the property represented by this annotation is
15+
* enforced; that is, the Resource Leak Checker will always issue a warning when the value of an
16+
* expression with this type might be de-allocated.
1717
*
1818
* @checker_framework.manual #must-call-checker Must Call Checker
1919
*/

checker/tests/resourceleak-nocreatesmustcallfor/CreatesMustCallForSimpler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// A simpler test that @CreatesMustCallFor works as intended wrt the Object Construction Checker.
1+
// A simpler test that @CreatesMustCallFor works as intended wrt the Resource Leak Checker.
22

33
// This test has been modified to expect that CreatesMustCallFor is feature-flagged to off.
44

checker/tests/resourceleak/CreatesMustCallForSimple.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// A simple test that @CreatesMustCallFor works as intended wrt the Object Construction Checker.
1+
// A simple test that @CreatesMustCallFor works as intended wrt the Resource Leak Checker.
22

33
import org.checkerframework.checker.calledmethods.qual.*;
44
import org.checkerframework.checker.mustcall.qual.*;

checker/tests/resourceleak/CreatesMustCallForSimpler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// A simpler test that @CreatesMustCallFor works as intended wrt the Object Construction Checker.
1+
// A simpler test that @CreatesMustCallFor works as intended wrt the Resource Leak Checker.
22

33
import org.checkerframework.checker.calledmethods.qual.*;
44
import org.checkerframework.checker.mustcall.qual.*;

0 commit comments

Comments
 (0)