diff options
author | Andreas Gampe <agampe@google.com> | 2018-02-20 15:11:09 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2018-02-20 15:11:09 -0800 |
commit | 11d33b868a1c616987c85e86ed16e0b497211a0b (patch) | |
tree | 175141cb29ec3bd42a36a61e93da858e8d34b1c3 /soong/error_prone.go | |
parent | 1abefcf7a05d585ea2b6a4605359150923c35cc0 (diff) | |
download | error_prone-11d33b868a1c616987c85e86ed16e0b497211a0b.tar.gz |
Errorprone: Make InfiniteRecursion fatal
Switch InfiniteRecursion to error.
Bug: 73645371
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: I9f5d6aa8e61b8dd6f385544e5b50cbbc7a34255f
Diffstat (limited to 'soong/error_prone.go')
-rw-r--r-- | soong/error_prone.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/soong/error_prone.go b/soong/error_prone.go index e8e78ec..7bd69ef 100644 --- a/soong/error_prone.go +++ b/soong/error_prone.go @@ -54,6 +54,7 @@ func init() { "-Xep:ImmutableModification:ERROR", "-Xep:IncompatibleArgumentType:ERROR", "-Xep:IndexOfChar:ERROR", + "-Xep:InfiniteRecursion:ERROR", "-Xep:InjectMoreThanOneScopeAnnotationOnClass:ERROR", "-Xep:InvalidPatternSyntax:ERROR", "-Xep:IsInstanceOfClass:ERROR", |