Uninitialized read of field in constructor
Open
migrated
Priority-Low
Type-NewCheck
- Dominant language
- Java
- Stars
- 7.2k
- Forks
- 820
- Avg merge
- 5h 9m
- Merged PRs (30d)
- 50
Description
_[Original issue](https://code.google.com/p/error-prone/issues/detail?id=79) created by **eaftan@google.com** on 2013-02-11 at 09:48 PM_
---
This is often caused by a typo. The programmer probably meant to read from one of the constructor's parameters instead. Note that this is allowed by the JLS because fields are automatically initialized to a default value.
Contributor guide
Assessment
This issue has not been assessed yet.