You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/11/30 18:27:30 UTC
[tomcat] branch 9.0.x updated: Update SpotBugs false positives after AsyncFileHandler refactoring
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new aea819cc6f Update SpotBugs false positives after AsyncFileHandler refactoring
aea819cc6f is described below
commit aea819cc6f5b273aa7fd5964dd80d5dae5fbd4cc
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 3021a10956..fb5877ef72 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -1162,9 +1162,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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org