Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
-
Errors from error-prone will fail the build in the compile phase. Warnings look like Javac warnings and are counted as such by test-patch etc
Description
Google's error-prone (https://code.google.com/p/error-prone/) wraps javac with some additional static analysis that will generate additional warnings or errors at compile time if certain bug patterns (https://code.google.com/p/error-prone/wiki/BugPatterns) are detected. What's nice about this approach, as opposed to findbugs, is the compile time detection and erroring out prevent the detected problems from getting into the codebase up front.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-12187 Review in source the paper "Simple Testing Can Prevent Most Critical Failures"
- Closed
-
HBASE-12237 HBaseZeroCopyByteString#wrap() should not be called in hbase-client code
- Closed