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 2023/01/27 16:08:28 UTC

[tomcat] 04/04: Ignore SpotBugs false positive

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

commit 1b34d17b7d77a715c18f777a047c44f0a9c91318
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Jan 27 16:07:33 2023 +0000

    Ignore SpotBugs false positive
---
 res/spotbugs/filter-false-positives.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/res/spotbugs/filter-false-positives.xml b/res/spotbugs/filter-false-positives.xml
index dd4042b653..e7334c58c7 100644
--- a/res/spotbugs/filter-false-positives.xml
+++ b/res/spotbugs/filter-false-positives.xml
@@ -754,6 +754,12 @@
     <Field name="current"/>
     <Bug pattern="VO_VOLATILE_REFERENCE_TO_ARRAY"/>
   </Match>
+  <Match>
+    <!-- Not an issue. Initialisation is as intended. -->
+    <Class name="org.apache.catalina.tribes.util.JreCompat"/>
+    <Method name="&lt;clinit&gt;"/>
+    <Bug pattern="IC_SUPERCLASS_USES_SUBCLASS_DURING_INITIALIZATION" />
+  </Match>
   <Match>
     <!-- Random is SecureRandom and will be used multiple times. -->
     <Class name="org.apache.catalina.tribes.util.UUIDGenerator"/>


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