This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new 633acf1047 Update SpotBugs false positives after AsyncFileHandler refactoring 633acf1047 is described below commit 633acf1047401e5ee53f32f69738be6314849110 Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Nov 30 18:17:25 2022 +0000 Update SpotBugs false positives after AsyncFileHandler refactoring --- res/spotbugs/filter-false-positives.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/res/spotbugs/filter-false-positives.xml b/res/spotbugs/filter-false-positives.xml index ef68d4b4bb..b2710b9dca 100644 --- a/res/spotbugs/filter-false-positives.xml +++ b/res/spotbugs/filter-false-positives.xml @@ -1100,9 +1100,15 @@ <Method name="scanXMLDeclOrTextDecl"/> <Bug code="ES"/> </Match> + <Match> + <!-- Cast is safe --> + <Class name="org.apache.juli.AsyncFileHandler$DropLastPolicy"/> + <Method name="rejectedExecution"/> + <Bug pattern="BC_UNCONFIRMED_CAST"/> + </Match> <Match> <!-- Dummy thread --> - <Class name="org.apache.juli.AsyncFileHandler$LoggerThread"/> + <Class name="org.apache.juli.AsyncFileHandler$LoggerExecutorService"/> <Method name="deregisterHandler"/> <Bug pattern="DM_USELESS_THREAD"/> </Match> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org