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 b91935842cff8bf0ae912bdbd30e5867912b44fa
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon May 22 17:23:11 2023 +0100

    Back-port false positives for newly back-ported code.
---
 res/spotbugs/filter-false-positives.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/res/spotbugs/filter-false-positives.xml 
b/res/spotbugs/filter-false-positives.xml
index 7832325647..d9a5ba4332 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -1583,6 +1583,15 @@
      <Method name="compareEntityTag"/>
     <Bug pattern="NP_BOOLEAN_RETURN_NULL" />
   </Match>
+  <Match>
+    <!--  Generated code -->
+    <Or>
+      <Class name="org.apache.tomcat.util.json.JSONParser"/>
+      <Class name="org.apache.tomcat.util.json.JSONParserTokenManager"/>
+      <Class name="org.apache.tomcat.util.json.ParseException"/>
+      <Class name="org.apache.tomcat.util.json.TokenMgrError"/>
+    </Or>
+  </Match>
   <Match>
     <!-- Hiding of field in superclass is deliberate -->
     <Class name="org.apache.tomcat.util.modeler.NotificationInfo"/>
@@ -2576,6 +2585,18 @@
     <Field name="data"/>
     <Bug pattern="VO_VOLATILE_REFERENCE_TO_ARRAY"/>
   </Match>
+  <Match>
+    <!-- Statics are used deliberately as they are simpler -->
+    <Class 
name="org.apache.tomcat.websocket.server.TestWsRemoteEndpointImplServerDeadlock"
 />
+    <Method name="testTemporaryDeadlockOnClientClose" />
+    <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
+  </Match>
+  <Match>
+    <!-- Statics are used deliberately as they are simpler -->
+    <Class 
name="org.apache.tomcat.websocket.server.TestWsRemoteEndpointImplServerDeadlock$Bug66508Endpoint"
 />
+    <Method name="onOpen" />
+    <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD"/>
+  </Match>
   <Match>
     <!-- Return value of latch is intentionally ignored -->
     <Or>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to