diff options
author | Colin Cross <ccross@android.com> | 2021-05-11 21:19:06 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-05-11 21:19:06 +0000 |
commit | 37ecf50779501f398c77063f0db3ee9bfd9a111e (patch) | |
tree | cc15dd95c8bc78fb2ec537e1985877d60dcdbbdb | |
parent | 7b5035a4096fdf9066cae9bebeee64c949cb47bb (diff) | |
parent | b4ce7f404f1bf6c71bf0283067391bf7d16a5fb3 (diff) | |
download | dagger2-37ecf50779501f398c77063f0db3ee9bfd9a111e.tar.gz |
Update dagger2 lint baseline am: 8c81cc68b4 am: b4ce7f404f
Original change: https://android-review.googlesource.com/c/platform/external/dagger2/+/1701935
Change-Id: I98af72cc3986a8896f60cffcfdf58071c249eac2
-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> |