checker-framework icon indicating copy to clipboard operation
checker-framework copied to clipboard

False positive in Resource Leak Checker when type variable has a non-empty MustCall type

Open kelloggm opened this issue 4 years ago • 0 comments

The test https://github.com/typetools/checker-framework/blob/master/checker/tests/resourceleak/Issue4815.java demonstrates a false positive from the Resource Leak Checker. I don't know why this warning is issued, because the code looks safe to me. This false positive should be investigated and fixed.

This is a continuation of #4815, which reported a crash from the RLC on that test case. #4821 fixed the crash, but the false positive remains.

kelloggm avatar Jul 26 '21 21:07 kelloggm