`GuardedByChecker` treats method handles differently from lambda expressions
Open
- Dominant language
- Java
- Stars
- 7.2k
- Forks
- 820
- Avg merge
- 5h 9m
- Merged PRs (30d)
- 50
Description
See the discussion in #536 and the example code in #541. For guarded objects used inside lambda expressions Error Prone currently errs on the side of safety (assuming that the lambda expression _may_ be executed in another thread), but the same caution is not applied to method handles.
Contributor guide
Assessment
This issue has not been assessed yet.