typetools / typetools/checker-framework
Non-determinisic Lock Checker bug
Open
Nobody has claimed this yet.
False Positive (false warning or imprecision)
nondeterminism
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 440
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 134
Description
On Jenkins the Lock Checker issues the following erroneous errors, though Travis does not.
./daikon/split/PptSplitter.java:363: warning: [cannot.dereference] cannot dereference expression eq_inv.ppt with refined type annotation @GuardedByBottom
+ eq_inv.ppt
^
./daikon/split/PptSplitter.java:363: warning: [cannot.dereference] cannot dereference expression eq_inv.ppt with refined type annotation @GuardedByBottom
+ eq_inv.ppt
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Jenkins and Travis job logs linked in the report, then inspect the Lock Checker behavior around PptSplitter.java:363. Compare why the two environments produce different results and determine how to prevent the erroneous cannot.dereference warnings; done means the reported code no longer produces those warnings consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100