зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1414995: Crash when publicsuffixlist could not be opened. r=nechen
MozReview-Commit-ID: 2agnVzKLkzd --HG-- extra : rebase_source : 8f4b13154f74ac358fea2c2693f546a95b7f46ca
This commit is contained in:
Родитель
6af91eacb2
Коммит
4b81416ab1
|
@ -39,7 +39,7 @@ class PublicSuffixPatterns {
|
|||
}
|
||||
|
||||
} catch (IOException e) {
|
||||
Log.e("Patterns", "IOException during loading public suffix list");
|
||||
throw new IllegalStateException("resource publicsuffixlist could not be opened but is bundled with app", e);
|
||||
} finally {
|
||||
IOUtils.safeStreamClose(reader);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче