Dávid Paksy created ZOOKEEPER-5079:
--------------------------------------

             Summary: Triage newly detected SpotBugs / findbugs issues after 
JDK17/25 upgrade
                 Key: ZOOKEEPER-5079
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-5079
             Project: ZooKeeper
          Issue Type: Task
            Reporter: Dávid Paksy


On master we upgraded to JDK17 - JDK25. For that when we upgraded SpotBugs to 
4.9.3, it found new issues.

For now they are excluded (suppressed) but this suppression list is very broad. 
They are including real concurrency bugs (AT_STALE_THREAD_WRITE_OF_PRIMITIVE, 
AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE) and design issues 
(CT_CONSTRUCTOR_THROW, EI_EXPOSE_REP).

See:
[https://github.com/apache/zookeeper/blob/master/excludeFindBugsFilter.xml#L10]

 

We should look into these and open tickets to fix them.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to