Index: build/android/findbugs_filter/findbugs_exclude.xml |
diff --git a/build/android/findbugs_filter/findbugs_exclude.xml b/build/android/findbugs_filter/findbugs_exclude.xml |
index 320a2bf352f9d9e192943d634e938eb16081d24e..f6a1394f2df8b548489277c37281b519fc71e30c 100644 |
--- a/build/android/findbugs_filter/findbugs_exclude.xml |
+++ b/build/android/findbugs_filter/findbugs_exclude.xml |
@@ -21,4 +21,9 @@ In particular, ~ at the start of a string means it's a regex. |
<Bug pattern="DM_STRING_CTOR" /> |
<!-- Ignore "reliance on default String encoding" warnings, as we're not multi-platform --> |
<Bug pattern="DM_DEFAULT_ENCODING" /> |
+ <!-- |
+ Legacy code, discouraged on Android: |
+ https://developer.android.com/reference/java/security/AccessController.html |
+ --> |
+ <Bug pattern="DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED" /> |
</FindBugsFilter> |