fix(deps): update dependency spotbugs to v4.9.2#3556
Merged
vlsi merged 1 commit intopgjdbc:masterfrom Mar 14, 2025
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.8.6->4.9.2Release Notes
spotbugs/spotbugs (spotbugs)
v4.9.2Compare Source
Added
@SuppressFBWarningsannotations (#641)Fixed
HSM_HIDING_METHODfalse positive when ECJ generates a synthetic method for an enum switch (#3305)AT_UNSAFE_RESOURCE_ACCESS_IN_THREADfalse negatives, detector depending on method order.THROWS_METHOD_THROWS_CLAUSE_THROWABLEreported in a method callingMethodHandle.invokeExactdue to its polymorphic signature (#3309)AT_STALE_THREAD_WRITE_OF_PRIMITIVEfalse positive in inner class (#3310).AT_STALE_THREAD_WRITE_OF_PRIMITIVEfalse positive for ECJ compiled enum switches (#3316)RC_REF_COMPARISONfalse positive with Lombok With annotation (#3319)MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTORandMC_OVERRIDABLE_METHOD_CALL_IN_CLONEfalse positive when the overridable method is outside the class (#3328).ThrowingExceptionsdetector (#3337).Removed
TLW_TWO_LOCK_NOTIFY,LI_LAZY_INIT_INSTANCE,BRSA_BAD_RESULTSET_ACCESS,BC_NULL_INSTANCEOF,NP_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORandRCN_REDUNDANT_CHECKED_NULL_COMPARISONdeprecated bug patterns.v4.9.1Compare Source
Added
SharedVariableAtomicityDetectorfor new bug typesAT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE,AT_NONATOMIC_64BIT_PRIMITIVEandAT_STALE_THREAD_WRITE_OF_PRIMITIVE(See SEI CERT rules VNA00-J, VNA02-J and VNA05-J).FindHiddenMethodfor bug typeHSM_HIDING_METHOD. This bug is reported whenever a subclass method hides the static method of super class. (See SEI CERT MET07-J).Fixed
ThrowingExceptions(#3267)java.util.concurrent.CompletableFuture'scompleteOnTimeout(),getNow()andobtrudeValue()functions as nullable (#1001).FindReturnRefwas checking instructions corresponding to a CFG branch that was optimized away (#3266)MultipleInstantiationsOfSingletonswhen a singleton initializer makes recursive calls (#3280)FindReturnRefon inner class fields (#3283)v4.9.0Compare Source
Added
SuppressFBWarningsannotation to support finer grained bug suppressions (#3102)ResourceInMultipleThreadsDetectorand introduced new bug type:AT_UNSAFE_RESOURCE_ACCESS_IN_THREADis reported in case of unsafe resource access in multiple threads.Fixed
MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECTwhen calling own methods (#2957)findbugs.refcomp.reportAllis now being used. For some new conditions, it will emit an experimental warning (#2988)-versionflag prints the version to the standard output (#2797)SING_SINGLETON_GETTER_NOT_SYNCHRONIZEDreport when the synchronization is in a called method (#3045)BetterCFGBuilder2.isPEIhandledup2bytecode used by Spring AOT (#3059)EI_EXPOSE_REPwhen there are multiple immutable assignments (#3023)NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORfor Kotlin, handle Kotlin'sIntrinsics.checkNotNullParameter()(#3094)FindReturnRefnot finding references exposed from nested and inner classes (#2042)FI_FINALIZER_NULLS_FIELDSFPs for functions called finalize() but not with the correct signature. (#3207)ThrowingExceptionsby removing false positive reports, such as synthetic methods (lambdas), methods which inherited their exception specifications and methods which call throwing methods (#2040)DP_DO_INSIDE_DO_PRIVILEGED,DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGEDandUSC_POTENTIAL_SECURITY_CHECK_BASED_ON_UNTRUSTED_SOURCEin code targeting Java 17 and above, since it advises the usage of deprecated method (#1515).RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECTfalse positive for a builder delegating to another builder (#3235)Cleanup
Collection.isEmpty()orString.isEmpty()to test for emptiness (#3180, #3219)Boolean.parseBoolean()for string-to-boolean conversion. (#3217)Changed
Configuration
📅 Schedule: Branch creation - "every 3 weeks on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.