This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 0d727f1b772c9ca7bda069958512da32b48d4831 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 ece55e90cc..991374f557 100644 --- a/res/spotbugs/filter-false-positives.xml +++ b/res/spotbugs/filter-false-positives.xml @@ -1130,9 +1130,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