Closed GoogleCodeExporter closed 9 years ago
I agree with your analysis. This looks like an imprecision in the dataflow
analysis.
I have added your test case as file
checker-framework/checker/tests/nullness/Issue411.java . It's currently
skipped to avoid breaking the build.
Original comment by michael.ernst@gmail.com
on 16 Mar 2015 at 2:44
Isn't this the same as Issue 266
(https://code.google.com/p/checker-framework/issues/detail?id=266)?
Original comment by wdi...@gmail.com
on 16 Mar 2015 at 8:37
You're right, although the other bug doesn't mention @MonotonicNonNull. Sorry
for the duplicate.
Original comment by cus...@google.com
on 16 Mar 2015 at 8:48
I'm merging the issues.
Testing for @MonotonicNonNull should be done, but should come for free once the
Store has the correct information.
Issue 266 has a simple workaround. Are you running into this issue a lot?
Should this issue get a higher priority?
Original comment by wdi...@gmail.com
on 16 Mar 2015 at 8:53
I'm merging the issues.
Testing for @MonotonicNonNull should be done, but should come for free once the
Store has the correct information.
Issue 266 has a simple workaround. Are you running into this issue a lot?
Should this issue get a higher priority?
Original comment by wdi...@gmail.com
on 16 Mar 2015 at 8:53
There was one report recently, I wouldn't say its high priority. Having to use
workarounds (even if they're simple) can be discouraging to people trying to
adopt the tool, though.
Original comment by cus...@google.com
on 16 Mar 2015 at 9:02
Original issue reported on code.google.com by
cus...@google.com
on 14 Mar 2015 at 2:29