Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2865)

Unified Diff: build/android/findbugs_filter/findbugs_exclude.xml

Issue 59533009: Check library version and handle library load errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix BrowserStartupControllerTest Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 2f7bde57097822e9b9feda85c41eab1b06f1df40..f300db1aa6e08d6701103d8e6dfdc726067143e0 100644
--- a/build/android/findbugs_filter/findbugs_exclude.xml
+++ b/build/android/findbugs_filter/findbugs_exclude.xml
@@ -49,4 +49,44 @@ In particular, ~ at the start of a string means it's a regex.
<Bug pattern="DM_GC" />
</Or>
</Match>
+ <!--
+ Ignore calls to System.exit() following errors during loading the native library.
+ There is no way to recover from such errors without restarting the application,
+ so System.exit() is the best solution.
+ -->
+ <Match>
+ <Class name="~org\.chromium\.chrome\..*\.ChromiumSyncAdapter.*" />
+ <Method name="run" />
+ <Bug code="Dm" />
+ </Match>
+ <Match>
+ <Class name="~org\.chromium\.chrome\..*\.ChromiumSyncAdapter" />
+ <Method name="startBrowserProcessesSync" />
+ <Bug code="Dm" />
+ </Match>
+ <Match>
+ <Class name="~org\.chromium\.chrome\..*\.ChromiumTestShellActivity" />
+ <Method name="onCreate" />
+ <Bug code="Dm" />
+ </Match>
+ <Match>
+ <Class name="~org\.chromium\.chrome\..*\.AccountsChangedReceiver.*" />
+ <Method name="run" />
+ <Bug code="Dm" />
+ </Match>
+ <Match>
+ <Class name="~org\.chromium\.content\..*\.ChildProcessService.*" />
+ <Method name="run" />
+ <Bug code="Dm" />
+ </Match>
+ <Match>
+ <Class name="~org\.chromium\..*ContentBrowserTestsActivity" />
+ <Method name="onCreate" />
+ <Bug code="Dm" />
+ </Match>
+ <Match>
+ <Class name="~org\.chromium\..*ContentShellActivity" />
+ <Method name="onCreate" />
+ <Bug code="Dm" />
+ </Match>
</FindBugsFilter>

Powered by Google App Engine
This is Rietveld 408576698