-
Notifications
You must be signed in to change notification settings - Fork 6
chore(deps): update dependency com.github.spotbugs:spotbugs to v4.9.4 #199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/com.github.spotbugs-spotbugs-4.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
32efa59
to
e4390c3
Compare
e4390c3
to
3be5edd
Compare
3be5edd
to
acbb527
Compare
f58efb6
to
1cd1d53
Compare
1cd1d53
to
81ba7e5
Compare
81ba7e5
to
d5470a0
Compare
d5470a0
to
6c9a59c
Compare
6c9a59c
to
5e6d47b
Compare
5e6d47b
to
bd6ec39
Compare
bd6ec39
to
b925496
Compare
b925496
to
b354637
Compare
b354637
to
186755c
Compare
186755c
to
66a9208
Compare
66a9208
to
2569a8a
Compare
2569a8a
to
fe1db3d
Compare
fe1db3d
to
9f5cfda
Compare
9f5cfda
to
cc91731
Compare
cc91731
to
c03d860
Compare
c03d860
to
a834580
Compare
a834580
to
ec968f4
Compare
ec968f4
to
7fe5a8c
Compare
7fe5a8c
to
adfbe33
Compare
adfbe33
to
341c8de
Compare
341c8de
to
194c5c5
Compare
Code Climate has analyzed commit 194c5c5 and detected 0 issues on this pull request. View more on Code Climate. |
194c5c5
to
0948aa5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.2.3
->4.9.4
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
spotbugs/spotbugs (com.github.spotbugs:spotbugs)
v4.9.4
Compare Source
Changed
AnnotationMatcher
can now ignore bugs if annotation is also applied on methods or fields. Previously only annotations on classes were considered.LOCAL_VARIABLE_UNKNOWN
with 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*.Generated
annotation with retention >= class (#3350)(#3409)ResourceValueFrame.java
to Enum (#2061)FS_BAD_DATE_FORMAT_FLAG_COMBO
(#3387)FindNoSideEffectMethods
detector (#3320)RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT
when part of a MockitodoAnswer()
,doCallRealMethod()
,doNothing()
,doThrow()
ordoReturn()
call (#3334)CT_CONSTRUCTOR_THROW
false positive with public and private constructors in specific order of methods (#3417)AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE
,AT_NONATOMIC_64BIT_PRIMITIVE
andAT_STALE_THREAD_WRITE_OF_PRIMITIVE
FP when the relevant code is in private method, which is only called with proper synchronization (#3428)RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT
when part of a BDDMockito call (#3441)AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE
when field of a local variable is set. (#3459)AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE
FP when there was no compound operation (#3363)NM_FIELD_NAMING_CONVENTION
crash in the TestASM detector (#3489)UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR
for fields initialized in JUnit 3/4setUp()
method. (#3169)US_USELESS_SUPPRESSION_ON_FIELD
/UUF_UNUSED_FIELD
false positive (#3496)TextUICommandLine
supports all options encoded in Eclipse preferences file (#3520)NoSuchElementException
whenhasNext()
returns true (#3501)DMI_INVOKING_TOSTRING_ON_ARRAY
on newer JDK (#1147)NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE
false positive withObjects.requireNonNull
(#2965) (#3573)SF_SWITCH_NO_DEFAULT
false positive fix (#1148) (#3572)Added
US_USELESS_SUPPRESSION_ON_*
messages (#3395)@NotThreadSafe
(#3390)CWO_CLOSED_WITHOUT_OPENED
for locks that might be released without even being acquired. (See SEI CERT rule LCK08-J) (#2055)ResourceValueFrame
.DMI_MISLEADING_SUBSTRING
for callingsubString(0)
on a StringBuffer/StringBuilder (#1928)Signing
v4.9.3
Compare Source
Added
UselessSuppressionDetector
to report the useless annotations instead ofNoteSuppressedWarnings
(#3348)Fixed
US_USELESS_SUPPRESSION_ON_METHOD
on synthetic methods (#3351)v4.9.2
Compare Source
Added
@SuppressFBWarnings
annotations (#641)Fixed
HSM_HIDING_METHOD
false positive when ECJ generates a synthetic method for an enum switch (#3305)AT_UNSAFE_RESOURCE_ACCESS_IN_THREAD
false negatives, detector depending on method order.THROWS_METHOD_THROWS_CLAUSE_THROWABLE
reported in a method callingMethodHandle.invokeExact
due to its polymorphic signature (#3309)AT_STALE_THREAD_WRITE_OF_PRIMITIVE
false positive in inner class (#3310).AT_STALE_THREAD_WRITE_OF_PRIMITIVE
false positive for ECJ compiled enum switches (#3316)RC_REF_COMPARISON
false positive with Lombok With annotation (#3319)MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR
andMC_OVERRIDABLE_METHOD_CALL_IN_CLONE
false positive when the overridable method is outside the class (#3328).ThrowingExceptions
detector (#3337).Removed
TLW_TWO_LOCK_NOTIFY
,LI_LAZY_INIT_INSTANCE
,BRSA_BAD_RESULTSET_ACCESS
,BC_NULL_INSTANCEOF
,NP_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR
andRCN_REDUNDANT_CHECKED_NULL_COMPARISON
deprecated bug patterns.v4.9.1
Compare Source
Added
SharedVariableAtomicityDetector
for new bug typesAT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE
,AT_NONATOMIC_64BIT_PRIMITIVE
andAT_STALE_THREAD_WRITE_OF_PRIMITIVE
(See SEI CERT rules VNA00-J, VNA02-J and VNA05-J).FindHiddenMethod
for 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).FindReturnRef
was checking instructions corresponding to a CFG branch that was optimized away (#3266)MultipleInstantiationsOfSingletons
when a singleton initializer makes recursive calls (#3280)FindReturnRef
on inner class fields (#3283)v4.9.0
Compare Source
Added
SuppressFBWarnings
annotation to support finer grained bug suppressions (#3102)ResourceInMultipleThreadsDetector
and introduced new bug type:AT_UNSAFE_RESOURCE_ACCESS_IN_THREAD
is reported in case of unsafe resource access in multiple threads.Fixed
MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT
when calling own methods (#2957)findbugs.refcomp.reportAll
is now being used. For some new conditions, it will emit an experimental warning (#2988)-version
flag prints the version to the standard output (#2797)SING_SINGLETON_GETTER_NOT_SYNCHRONIZED
report when the synchronization is in a called method (#3045)BetterCFGBuilder2.isPEI
handledup2
bytecode used by Spring AOT (#3059)EI_EXPOSE_REP
when there are multiple immutable assignments (#3023)NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR
for Kotlin, handle Kotlin'sIntrinsics.checkNotNullParameter()
(#3094)FindReturnRef
not finding references exposed from nested and inner classes (#2042)FI_FINALIZER_NULLS_FIELDS
FPs for functions called finalize() but not with the correct signature. (#3207)ThrowingExceptions
by 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_PRIVILEGED
andUSC_POTENTIAL_SECURITY_CHECK_BASED_ON_UNTRUSTED_SOURCE
in code targeting Java 17 and above, since it advises the usage of deprecated method (#1515).RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT
false 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
v4.8.6
Compare Source
Fixed
IGNORED_PRIORITY
(#2994)v4.8.5
Compare Source
Fixed
SING_SINGLETON_GETTER_NOT_SYNCHRONIZED
with eager instances (#2932)SE_BAD_FIELD
for record fields (#2935)v4.8.4
Compare Source
Fixed
executionSuccessful
flag in SARIF report being set to false when bugs were found (#2116)exitSignalName
toexitCodeDescription
(#2739)Added
MultipleInstantiationsOfSingletons
and introduced new bug types:SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR
is reported in case of a non-private constructor,SING_SINGLETON_IMPLEMENTS_CLONEABLE
is reported in case of a class directly implementing theCloneable
interface,SING_SINGLETON_INDIRECTLY_IMPLEMENTS_CLONEABLE
is reported when a class indirectly implements theCloneable
interface,SING_SINGLETON_IMPLEMENTS_CLONE_METHOD
is reported when a class does not implement theCloneable
interface, but has aclone()
method,SING_SINGLETON_IMPLEMENTS_SERIALIZABLE
is reported when a class directly or indirectly implements theSerializable
interface andSING_SINGLETON_GETTER_NOT_SYNCHRONIZED
is reported when the instance-getter method of the singleton class is not synchronized.(See SEI CERT MSC07-J)
FindOverridableMethodCall
detector with new bug type:MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT
. It's reported when an overridable method is called fromreadObject()
, according to SEI CERT rule SER09-J. Do not invoke overridable methods from the readObject() method.Changed
Build
v4.8.3
Compare Source
Fixed
Changed
v4.8.2
Compare Source
Fixed
Added
System.getenv()
calls, where the corresponding Java property could be used (See ENV02-J).Build
v4.8.1
Compare Source
Fixed
PA_PUBLIC_MUTABLE_OBJECT_ATTRIBUTE
bug (#2652)Build
v4.8.0
Compare Source
Changed
Fixed
RandomOnceSubDetector
to not report whendoubles
,ints
, orlongs
are called on a newRandom
orSecureRandom
(#2370)TestASM
throwing error during analysis, because it doesn't note that it reports bugs.Added
classAnnotationNames
). For example, use like in an excludeFilter.xml to ignore classes generated by the Immutable framework. This ignores all class, method or field bugs in classes with that annotation.FindAssertionsWithSideEffects
detecting bugASSERTION_WITH_SIDE_EFFECT
andASSERTION_WITH_SIDE_EFFECT_METHOD
in case of assertions which may have side effects (See EXP06-J. Expressions used in assertions must not produce side effects)PA_PUBLIC_PRIMITIVE_ATTRIBUTE
,PA_PUBLIC_ARRAY_ATTRIBUTE
andPA_PUBLIC_MUTABLE_OBJECT_ATTRIBUTE
to warn for public attributes which are written by the methods of the class. This rule is loosely based on the SEI CERT rule OBJ01-J Limit accessibility of fields. (#OBJ01-J)SerializableIdiom
detector with new bug type:SE_PREVENT_EXT_OBJ_OVERWRITE
. It's reported in case of thereadExternal()
method allows any caller to reset any value of an objectFindVulnerableSecurityCheckMethods
for new bug typeVSC_VULNERABLE_SECURITY_CHECK_METHODS
. This bug is reported whenever a non-final and non-private method of a non-final class performs a security check using thejava.lang.SecurityManager
. (See [SEI CERT MET03-J] (https://wiki.sei.cmu.edu/confluence/display/java/MET03-J.+Methods+that+perform+a+security+check+must+be+declared+private+or+final))SynchronizationOnSharedBuiltinConstant
to detectDL_SYNCHRONIZATION_ON_INTERNED_STRING
(#2266)FindArgumentAssertions
detecting bugASSERTION_OF_ARGUMENTS
in case of validation of arguments of public functions using assertions (See MET01-J. Never use assertions to validate method arguments)CT_CONSTRUCTOR_THROW
for detecting constructors that throw exceptions.DontReusePublicIdentifiers
for new bug typePI_DO_NOT_REUSE_PUBLIC_IDENTIFIERS
. This bug is reported whenever a new class, interface, field, method or variable is created reusing an identifier from the Java Standard Library . (See SEI CERT rule DCL01-J)Security
Build
v4.7.3
Compare Source
Fixed
DontUseFloatsAsLoopCounters
to prevent false positives. (#2126)4.7.2
caused by (#2141)UncallableMethodOfAnonymousClass
to not report unused methods of method-local enumerations and records (#2120)FindSqlInjection
to detect bugSQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE SQL
with high priority in case of unsafe appends also in Java 11 and above (#2183)StringConcatenation
to detect bugSBSC_USE_STRINGBUFFER_CONCATENATION
also in Java 11 and above (#2182)OpcodeStackDetector
to handle propagation of taints properly in case of string concatenation in Java 9 and above (#2195)2.19.0
ViewCFG
to generate file names that are also valid on Windows (#2209)v4.7.2
Compare Source
Fixed
2.0.0
1.4.0
2.18.0
11.4
(#2160)SA_FIELD_SELF_ASSIGNMENT
is now reported from nested classes as well (#2142)EI_EXPOSE_REP
thrown in case of fields initialized by theof
orcopyOf
method of aList
,Map
orSet
(#1771)dup_x2
is used to swap the reference and wide-value (double, long) in the stack (#2146)v4.7.1
Compare Source
Fixed
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE
on try-with-resources with interface references (#1931)FindPotentialSecurityCheckBasedOnUntrustedSource
on Kotlin files. (#2041)ThrowingExceptions
by default to avoid many false positives (#2040)THROWS_METHOD_THROWS_CLAUSE_BASIC_EXCEPTION
andTHROWS_METHOD_THROWS_CLAUSE_THROWABLE
on evaluating synthetic classes (#2040)SSD_DO_NOT_USE_INSTANCE_LOCK_ON_SHARED_STATIC_DATA
on proper protection by using static lock for synchronized block, but inside an unsecured (synchronized and not static) method (#2089)v4.7.0
Compare Source
Changed
()
to the negative odd check message (#1995)Fixed
-nested:true
(#1930)Added
ThrowingExceptions
and introduced new bug types:THROWS_METHOD_THROWS_RUNTIMEEXCEPTION
is reported in case of a method throwing RuntimeException,THROWS_METHOD_THROWS_CLAUSE_BASIC_EXCEPTION
is reported when a method has Exception in its throws clause andTHROWS_METHOD_THROWS_CLAUSE_THROWABLE
is reported when a method has Throwable in its throws clause (See SEI CERT ERR07-J)PERM_SUPER_NOT_CALLED_IN_GETPERMISSIONS
to warn for custom class loaders who do not call their superclasses'getPermissions()
in theirgetPermissions()
method. This rule based on the SEI CERT rule SEC07-J Call the superclass's getPermissions() method when writing a custom class loader. (#SEC07-J)USC_POTENTIAL_SECURITY_CHECK_BASED_ON_UNTRUSTED_SOURCE
to detect cases where a non-final method of a non-final class is called from public methods of public classes and then the same method is called on the same object inside a doPrivileged block. Since the called method may have been overridden to behave differently on the first and second invocations this is a possible security check based on an unreliable source. This rule is based on SEC02-J. Do not base security checks on untrusted sources. (#SEC02-J)DontUseFloatsAsLoopCounters
to detect usage of floating-point variables as loop counters (FL_FLOATS_AS_LOOP_COUNTERS
), according to SEI CERT rules NUM09-J. Do not use floating-point variables as loop countersViewCFG
to visualize the control-flow graph forSpotBugs
developersv4.6.0
Compare Source
Fixed
Added
FindInstanceLockOnSharedStaticData
for new bug typeSSD_DO_NOT_USE_INSTANCE_LOCK_ON_SHARED_STATIC_DATA
. This detector reports a bug if an instance level lock is used to modify a shared static data. (See SEI CERT rule LCK06-J)v4.5.3
Compare Source
Security
Fixed
v4.5.2
Compare Source
Security
Fixed
v4.5.1
Compare Source
Fixed
MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR
andMC_OVERRIDABLE_METHOD_CALL_IN_CLONE
for final classes (#1812).v4.5.0
Compare Source
Changed
edu.umd.cs.findbugs.classfile.engine.bcel
([#1741](https://redirect.github.com/spotbugs/spotbConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.