diff options
author | Colin Cross <ccross@android.com> | 2021-05-11 21:20:51 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-05-11 21:20:51 +0000 |
commit | 8f14b8ba3594d2aa096da1610fbc47da98da7f5d (patch) | |
tree | cc15dd95c8bc78fb2ec537e1985877d60dcdbbdb | |
parent | 7c1372eb780b4bad152c2b0c2d16980b74e00efb (diff) | |
parent | 37ecf50779501f398c77063f0db3ee9bfd9a111e (diff) | |
download | dagger2-8f14b8ba3594d2aa096da1610fbc47da98da7f5d.tar.gz |
Update dagger2 lint baseline am: 8c81cc68b4 am: b4ce7f404f am: 37ecf50779
Original change: https://android-review.googlesource.com/c/platform/external/dagger2/+/1701935
Change-Id: I594b5b9f8d7910e192ea31aadd34355baf6c686d
-rw-r--r-- | lint-baseline.xml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/lint-baseline.xml b/lint-baseline.xml index cf790c246..147f1372e 100644 --- a/lint-baseline.xml +++ b/lint-baseline.xml @@ -7,8 +7,19 @@ errorLine1=" } catch (ClassNotFoundException" errorLine2=" ^"> <location - file="external/dagger2/java/dagger/hilt/android/internal/testing/TestApplicationComponentManager.java" - line="85" + file="external/dagger2/java/dagger/hilt/android/internal/testing/EarlySingletonComponentCreator.java" + line="33" + column="14"/> + </issue> + + <issue + id="NewApi" + message="Multi-catch with these reflection exceptions requires API level 19 (current min is 14) because they get compiled to the common but new super type `ReflectiveOperationException`. As a workaround either create individual catch statements, or catch `Exception`." + errorLine1=" } catch (ClassNotFoundException" + errorLine2=" ^"> + <location + file="external/dagger2/java/dagger/hilt/android/internal/testing/TestComponentDataSupplier.java" + line="35" column="14"/> </issue> |