You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2023/03/24 03:04:00 UTC
[jira] [Updated] (HDDS-8268) Use spotbugs instead of findbugs
[ https://issues.apache.org/jira/browse/HDDS-8268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siyao Meng updated HDDS-8268:
-----------------------------
Summary: Use spotbugs instead of findbugs (was: Look into using spotbugs)
> Use spotbugs instead of findbugs
> --------------------------------
>
> Key: HDDS-8268
> URL: https://issues.apache.org/jira/browse/HDDS-8268
> Project: Apache Ozone
> Issue Type: Wish
> Reporter: Siyao Meng
> Priority: Major
>
> findbugs seems to have been abandoned, [last commit on Sep 2017|https://github.com/findbugsproject/findbugs].
> spotbugs is the findbugs successor that seems mostly a drop-in replacement and is [actively maintained|https://github.com/findbugsproject/findbugs].
> It also has some new checks that {{findbugs}} doesn't seem to have. For instance,
> bq. OBL: Method may fail to clean up stream or resource on checked exception (OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE)
> https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html#obl-method-may-fail-to-clean-up-stream-or-resource-on-checked-exception-obl-unsatisfied-obligation-exception-edge
> which could have discovered the leaking handle issue before a commit is merged.
> Recently we have quite a few PRs just to fix the leaking DB handles:
> 1. HDDS-8251. RocksIterator is not closed properly in snapshot
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org