You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Carl Franklin Hall (Jira)" <ji...@apache.org> on 2023/01/14 19:58:00 UTC

[jira] [Commented] (DBUTILS-149) Resolve bugs when upgrading to Spotbugs 4.7.3

    [ https://issues.apache.org/jira/browse/DBUTILS-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17676942#comment-17676942 ] 

Carl Franklin Hall commented on DBUTILS-149:
--------------------------------------------

The analysis bugs are for EI_EXPOSE_REP and EI_EXPOSE_REP2. This code has been in DbUtils for years. Changing this behavior would break binary compatibility, and cause potential side effects for users relying on the mutable nature of these references. Like commons-io, commons-lang, and others, I've added exceptions to the Spotbugs config for these rules.

> Resolve bugs when upgrading to Spotbugs 4.7.3
> ---------------------------------------------
>
>                 Key: DBUTILS-149
>                 URL: https://issues.apache.org/jira/browse/DBUTILS-149
>             Project: Commons DbUtils
>          Issue Type: Improvement
>    Affects Versions: Nightly Builds
>            Reporter: Carl Franklin Hall
>            Assignee: Carl Franklin Hall
>            Priority: Major
>
> Upgrading to Spotbugs {{4.7.3}} (from {{{}4.2.3{}}}) breaks the build due to the introduction of new analysis rules. These issues need to be addressed away the master branch then Spotbugs version advanced to use {{commons.spotbugs.impl.version}} from {{{}commons-parent{}}}. At the time of writing, attempting this upgrade introduced 27 bugs.



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