summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-03-05 20:04:19 -0800
committerAndreas Gampe <agampe@google.com>2018-03-05 20:04:19 -0800
commitc75d582b559ceb26bd75cc082c74fb7b52d937bd (patch)
treef962f4117c1475e12df1fa06f2c6d39798d4f5c5
parente65045124174da363e079601497fd0ca5a6c68c3 (diff)
downloadjcommander-c75d582b559ceb26bd75cc082c74fb7b52d937bd.tar.gz
Ensure that CollectionIncompatibleType isn't fatal until an upstream fix can be imported. Bug: 73288226 Bug: 74215153 Test: m javac-check RUN_ERROR_PRONE=true Change-Id: I020b7b2d325002f5a68377baa3ea5032c79c377a
-rw-r--r--Android.bp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 63f2244..d422eb2 100644
--- a/Android.bp
+++ b/Android.bp
@@ -31,4 +31,10 @@ java_library_static {
exclude_srcs: ["src/main/**/PathConverter.java"],
},
},
+
+ errorprone: {
+ javacflags: [
+ "-Xep:CollectionIncompatibleType:WARN", // b/74215153
+ ],
+ }
}