Repository navigation
Update com.github.spotbugs.version to v4.10.5 - #257
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/com.github.spotbugs.version
branch
from
February 9, 2025 12:07
870db59 to
b84d2e0
Compare
renovate
Bot
force-pushed
the
renovate/com.github.spotbugs.version
branch
from
March 2, 2025 15:42
b84d2e0 to
b8f27a1
Compare
renovate
Bot
force-pushed
the
renovate/com.github.spotbugs.version
branch
from
March 16, 2025 04:02
b8f27a1 to
d7712e0
Compare
renovate
Bot
force-pushed
the
renovate/com.github.spotbugs.version
branch
from
August 10, 2025 03:55
d7712e0 to
7f32bff
Compare
renovate
Bot
force-pushed
the
renovate/com.github.spotbugs.version
branch
from
September 16, 2025 23:51
7f32bff to
f963d08
Compare
renovate
Bot
force-pushed
the
renovate/com.github.spotbugs.version
branch
from
September 18, 2025 03:49
f963d08 to
c0c90c2
Compare
renovate
Bot
force-pushed
the
renovate/com.github.spotbugs.version
branch
2 times, most recently
from
October 19, 2025 07:11
8130328 to
8510ac2
Compare
renovate
Bot
force-pushed
the
renovate/com.github.spotbugs.version
branch
from
June 13, 2026 03:15
8510ac2 to
7ca646d
Compare
renovate
Bot
force-pushed
the
renovate/com.github.spotbugs.version
branch
from
July 16, 2026 00:15
7ca646d to
e8238fd
Compare
renovate
Bot
force-pushed
the
renovate/com.github.spotbugs.version
branch
from
August 21, 2026 03:41
e8238fd to
9151ee4
Compare
renovate
Bot
force-pushed
the
renovate/com.github.spotbugs.version
branch
from
October 16, 2026 22:10
9151ee4 to
4f91949
Compare
This branch has not been deployed
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.10.54.8.6→4.10.5Release Notes
spotbugs/spotbugs (com.github.spotbugs:spotbugs-annotations)
v4.10.5Compare Source
Added
ReflectiveAccessTrackerto track fields accessed via reflection - such as VarHandle, MethodHandle or AtomicFieldUpdaters (#3954) to fix issue (#2749)Changed
@SuppressFBWarningsannotation on a method or a constructor now suppresses warnings reported in their lambdas too (#724)Fixed
NP_NULL_ON_SOME_PATHfalse positive when a field null check that throws usesfield == nullbut notnull == field(#4147)RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECTfalse negative when the ignored result comes fromArrays.copyOf,Arrays.copyOfRangeor any pure static method or constructor of a class usingassert(#3900)AA_ASSERTION_OF_ARGUMENTSfalse negative when a public method validates a parameter withassertandinstanceof(#4305)PT_ABSOLUTE_PATH_TRAVERSALfalse negative fornew File(parent, child), where the attacker controlled segment is the second argument (#4340)UL_UNRELEASED_LOCKfalse negative when a method acquires a lock and never callsunlock(#4310)TLW_TWO_LOCK_WAITfalse negatives when a class waits while holding two monitors but has no matchingnotify()call (#4323)NP_ALWAYS_NULLfalse positives when a non-null value is known to satisfy aninstanceofcheck (#4272)RANGE_ARRAY_INDEXfalse positive when the array access is inside unreachable code caused by an impossible null condition (e.g.if (x == null && x != null)) (#4275)NP_NULL_ON_SOME_PATHfalse positive wheninstanceofcheck is always true because the value was created withnewand its exact type is a subtype of the checked type (e.g.Base value = new Derived(); if (value instanceof Derived) result = new Object(); result.toString()) (#4273)NN_NAKED_NOTIFYfalse positive when guarded state is updated before the synchronized block that callsnotify/notifyAll(#3786)SA_LOCAL_SELF_ASSIGNMENTfalse positive in methods with++/--inside a switch nested in a try-catch block (#3929)AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLEfalse negative for non-atomic read-modify-write in inner classes accessing enclosing shared fields (#4236)OS_OPEN_STREAMfalse positive when the result ofPrintWriter.append()is reassigned before closing the writer (#4274)OS_OPEN_STREAMfalse positive when a stream is wrapped (e.g. in aPrintStream,BufferedOutputStreamorPrintWriter) and the wrapped stream is closed instead of the wrapper (#4304)SING_SINGLETON_GETTER_NOT_SYNCHRONIZEDfalse negative when lazy init uses a ternary assignment instead of anifstatement (#4154)UR_UNINIT_READfalse negative for compound assignment to a field (e.g.m_iType |= e) (#4233)NP_BOOLEAN_RETURN_NULLfalse negative whennullis returned via a local variable (#4234)MS_EXPOSE_BUFandEI_EXPOSE_BUFfalse negative when returningBuffer.array()(#4235)OBL_UNSATISFIED_OBLIGATIONfalse negatives for unclosedCallableStatements returned byConnection.prepareCall(#4148)LI_LAZY_INIT_STATICfalse negative when field is lazily initialized using a method call (#4276)DMI_RANDOM_USED_ONLY_ONCEFP when Random is used inside loop but created before (#3937)NP_LOAD_OF_KNOWN_NULL_VALUEfalse negative when null check usesinstanceof(#3916)MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTORfalse negative when a constructor calls an overridable method that takes arguments, such as a setter (e.g.setValue(value)) (#4309)-conserveSpacewith a JVM system property instead passing it to Java Application as equivalent to-effort:min(#4268)USO_UNSAFE_ACCESSIBLE_OBJECT_SYNCHRONIZATIONfalse positive whenclone()assigns a newly created lock object to the copy (#4320)CT_CONSTRUCTOR_THROWfalse positive with sealed classes (#4259)JrtfsCodeBaseresolving JDK classes from the module image of the running JVM instead of the JDK the givenjrt-fs.jarbelongs to, so that-auxclasspath <other-jdk>/lib/jrt-fs.jaris honoured (#4329)USO_UNSAFE_ACCESSIBLE_OBJECT_SYNCHRONIZATIONfalse positive when a lock is assigned to a newly allocated object (#4331)writeReplace()andwriteExternal()as mutators (#1719)CheckRelaxingNullnessAnnotation(#4389)v4.10.4Compare Source
Fixed
NN_NAKED_NOTIFYfalse negatives when a field read is stored in a local variable beforenotify()ornotifyAll()(#3884)ASE_ASSERTION_WITH_SIDE_EFFECTandASE_ASSERTION_WITH_SIDE_EFFECT_METHODfalse positives in every method analysed after a method that reads$assertionsDisabledwithout throwing anAssertionError(#3483)INT_BAD_COMPARISON_WITH_SIGNED_BYTEfalse positive for meaningful comparisons of a signed byte with127(b < 127,b >= 127) (#4201)EI_EXPOSE_REPfalse negative for public getters in anonymous classes (#4237)java.util.Collections$EmptyNavigableSetandjava.util.Collections$EmptyNavigableMapwhen the result ofCollections.emptySortedSet(),emptyNavigableSet(),emptySortedMap()oremptyNavigableMap()is stored (#4244)URF_UNREAD_FIELDfalse negative for unread instance fields declared in enums (#4246)v4.10.3Compare Source
Fixed
LI_LAZY_INIT_STATICfalse negative when the null guard is written in yoda-style (null == field) (#4144)DC_DOUBLECHECK,NP_SYNC_AND_NULL_CHECK_FIELDandSP_SPIN_ON_FIELDfalse negatives when the null guard is written in yoda-style (null == field) (#4144)UNS_UNSAFE_CALLbug patternUWF_NULL_FIELDfalse negative for fields initialized with cast null values (#4034)UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASSfalse positive for methods reached only through method references (#4059)Changed
FindBugsViewerTask: use default look and feel by default. (#4165)Refactor
FindBugsViewerTask: extendAbstractFindBugsTaskto reduce duplicate code. (#4165)v4.10.2Compare Source
Build
v4.10.1Compare Source
Build
v4.9.8Compare Source
Fixed
v4.9.7Compare Source
Fixed
FindNakedNotifyto handle the case when the lock is loaded from a field (#3634)Changed
Deprecated
edu.umd.cs.findbugs.io.IO.close(InputStream)method. (#3756)Build
v4.9.6Compare Source
Fixed
jakarta.servlet.http.HttpServletRequestmethod calls (#3711)v4.9.5Compare Source
Fixed
@SuppressFBWarningsannotation (#3622)SF_SWITCH_FALLTHROUGHfalse positive when continuing a loop (#3617)CWO_CLOSED_WITHOUT_OPENEDfalse positive (#3616)SF_SWITCH_NO_DEFAULTfalse positive fix for switch-arrow (#3645)Duplicating value: ...(#3621)Added
Cleanup
v4.9.4Compare Source
Changed
AnnotationMatchercan now ignore bugs if annotation is also applied on methods or fields. Previously only annotations on classes were considered.LOCAL_VARIABLE_UNKNOWNwith exact method name forNP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE(#3485)Fixed
US_USELESS_SUPPRESSION_ON_*on methods, fields, parameters, packages or classes with an*.Generatedannotation with retention >= class (#3350)(#3409)ResourceValueFrame.javato Enum (#2061)FS_BAD_DATE_FORMAT_FLAG_COMBO(#3387)FindNoSideEffectMethodsdetector (#3320)RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECTwhen part of a MockitodoAnswer(),doCallRealMethod(),doNothing(),doThrow()ordoReturn()call (#3334)CT_CONSTRUCTOR_THROWfalse positive with public and private constructors in specific order of methods (#3417)AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE,AT_NONATOMIC_64BIT_PRIMITIVEandAT_STALE_THREAD_WRITE_OF_PRIMITIVEFP when the relevant code is in private method, which is only called with proper synchronization (#3428)RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECTwhen part of a BDDMockito call (#3441)AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLEwhen field of a local variable is set. (#3459)AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLEFP when there was no compound operation (#3363)NM_FIELD_NAMING_CONVENTIONcrash in the TestASM detector (#3489)UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORfor fields initialized in JUnit 3/4setUp()method. (#3169)US_USELESS_SUPPRESSION_ON_FIELD/UUF_UNUSED_FIELDfalse positive (#3496)TextUICommandLinesupports all options encoded in Eclipse preferences file (#3520)NoSuchElementExceptionwhenhasNext()returns true (#3501)DMI_INVOKING_TOSTRING_ON_ARRAYon newer JDK (#1147)NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUEfalse positive withObjects.requireNonNull(#2965) (#3573)SF_SWITCH_NO_DEFAULTfalse positive fix (#1148) (#3572)Added
US_USELESS_SUPPRESSION_ON_*messages (#3395)@NotThreadSafe(#3390)CWO_CLOSED_WITHOUT_OPENEDfor locks that might be released without even being acquired. (See SEI CERT rule LCK08-J) (#2055)ResourceValueFrame.DMI_MISLEADING_SUBSTRINGfor callingsubString(0)on a StringBuffer/StringBuilder (#1928)Signing
v4.9.3Compare Source
Added
UselessSuppressionDetectorto report the useless annotations instead ofNoteSuppressedWarnings(#3348)Fixed
US_USELESS_SUPPRESSION_ON_METHODon synthetic methods (#3351)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: (UTC)
🚦 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.