Skip to content
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

chore(deps): update dependency com.github.spotbugs:spotbugs to v4.8.0 #650

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 12, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.github.spotbugs:spotbugs (source) 4.7.3 -> 4.8.0 age adoption passing confidence

Release Notes

spotbugs/spotbugs (com.github.spotbugs:spotbugs)

v4.8.0

Compare Source

Changed
  • Bump up Apache Commons BCEL to the version 6.6.1 (#​2223)
  • Bump up slf4j-api to 2.0.3 (#​2220)
  • Bump up gson to 2.10 (#​2235)
  • Allowed for large command line through writing arguments to file (UnionResults/UnionBugs2)
  • Use com.github.stephenc.jcip for jcip-annotations fixing #​887
Fixed
  • Fixed missing classes not in report if using IErrorLogger.reportMissingClass(ClassDescriptor) (#​219)
  • Stop exposing junit-bom to consumers (#​2255)
  • Fixed AbstractBugReporter emits wrong non-sensical debug output during filtering (#​184)
  • Added support for jakarta namespace (#​2289)
  • Report a low priority bug for an unread field in reflective classes (#​2325)
  • Fixed "Unhandled event loop exception" opening Bug Filter Configuration dialog in Eclipse (#​2327)
  • Fixed detector RandomOnceSubDetector to not report when doubles, ints, or longs are called on a new Random or SecureRandom (#​2370)
  • Fixed detector TestASM throwing error during analysis, because it doesn't note that it reports bugs.
  • Eclipse annotation classpath initializer is hard-coded to jsr305 version 3.0.1, fix to 3.0.2 per #​2470
  • Fixed annotation on generic or array incorrectly considered for the nullability of a method parameter or return type (#​2502)
  • Added support for CONSTANT_Dynamic in constant class pool (#​2506)
  • Recognise enums and records as immutable (#​2356)
  • Added detections of reliance on default encoding in java.nio.file.Files (#​2114)
  • Fixed a regression in the Value Number Analysis (#​2465)
  • Fix XML Output incorrectly escaped in Eclipse Bug Info view (#​2520)
  • Updated the MS_EXPOSE_REP description to mention mutable objects, not just arrays (#​1669)
  • Described Configuration option frc.suspicious for bug RC_REF_COMPARISON in bug description (#​2297)
  • Fixed FindHEMismatch not reporting HE_SIGNATURE_DECLARES_HASHING_OF_UNHASHABLE_CLASS for some classes (#​2402)
  • Added execute file permission to files in the distribution zip (#​2540)
  • Do not report RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT when part of a Mockito.verify() call check (#​872)
  • Do not report SIC_INNER_SHOULD_BE_STATIC for classes annotated with JUnit Nested (#​560)
  • Detect created, but not-thrown exceptions, which are created by not the constructor (#​2547)
  • Fixed eclipse plugin Effort.values pass to effortViewer as required cast to varargs (#​2579)
Added
  • New simple name-based AnnotationMatcher for exclude files (now bug annotations store the class java annotations in an attribute called 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.
  • Added the Common Weakness Enumeration (CWE) taxonomy to the Static Analysis Results Interchange Format (SARIF) report. The short and long description for the CWEs are retrived from a JSON file which is a slimmed down version of the official comprehensive CWE XML from MITRE. The JSON contains information about all CWEs. (#​2410).
  • New detector FindAssertionsWithSideEffects detecting bug ASSERTION_WITH_SIDE_EFFECT and ASSERTION_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)
  • New rule set PA_PUBLIC_PRIMITIVE_ATTRIBUTE, PA_PUBLIC_ARRAY_ATTRIBUTE and PA_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)
  • Extend SerializableIdiom detector with new bug type: SE_PREVENT_EXT_OBJ_OVERWRITE. It's reported in case of the readExternal() method allows any caller to reset any value of an object
  • New Detector FindVulnerableSecurityCheckMethods for new bug type VSC_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 the java.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))
  • New function added to detector SynchronizationOnSharedBuiltinConstantto detect DL_SYNCHRONIZATION_ON_INTERNED_STRING (#​2266)
  • Make TypeQualifierResolver recognize org.apache.avro.reflect.Nullable (#​2066)
  • New detector FindArgumentAssertions detecting bug ASSERTION_OF_ARGUMENTS in case of validation of arguments of public functions using assertions (See MET01-J. Never use assertions to validate method arguments)
  • Add new detector CT_CONSTRUCTOR_THROW for detecting constructors that throw exceptions.
  • New detector DontReusePublicIdentifiers for new bug type PI_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
  • Disable access to external entities when processing XML (#​2217)
Build
  • Bump Eclipse from 4.6.3 to 4.14 (#​2314)
  • Use jakarta annotation 1.3.5 instead of legacy javax annotation 1.3.2 (#​2315)
  • Change hamcrest-all to hamcrest-core as that is what was actually used and then update to 2.2 (#​2316)
  • Only run release action on 'spotbugs' and use Eclipse 4.14 (#​2317)
  • Prefer log4j2 2.20.0 (#​2480)
  • Prefer logback 1.4.8 (#​2480)
  • Prefer logback 1.4.11 (#​2580)
  • Switch junit 4 for junit 5 vintage engine (#​2483)
  • LineEndings and Spotless (#​2343)
    • Cleanup gitattributes switching text to auto. For developers using windows, run 'git add . --renormalize' and see https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings if needed.
    • Rework spotless setup from plugin to build file plugin matching that of gradle plugin and thus allowing spotless to be updated to 6.22.0
    • Remove customized line endings for spotless so it uses git attributes as suggested by spotless
    • Add trimTrailingWhitespace for spotless
    • Fix deprecated usage of eclipse version from 4.13.0 to 4.13 per spotless requirements
  • Bump spotbugs gradle plugin to 6.0.0-beta.3 demonstrating breaking changes for 6.0.0 in gradle/java.gradle build file (#​2582)
  • Delete checked in j2ee jar and instead use servlet/ejb apis from jakarta (javax standard) (#​2585)
  • Bump Eclipse from 4.14 to 4.29 (latest) (#​2589)
  • Cleanup hamcrest imports / used library (#​2600)
  • Migrate entirely to junit 5 (#​2605)
    • Some parts of codebase were junit 3
    • Delete the SpotbugsRule
    • Replace custom java determination on build with Junit 5 usage
    • Various 'public' methods in tests fixed to 'private'
    • Junit 5 styling applied throughout
    • Add missing code to the SpotBugsRunner and now use the Extension as replacement of SpotbugsRule

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner October 12, 2023 04:24
@renovate renovate bot enabled auto-merge (squash) October 12, 2023 04:24
@renovate renovate bot force-pushed the renovate/com.github.spotbugs-spotbugs-4.x branch 8 times, most recently from 17ae4f8 to 8238bc3 Compare October 19, 2023 03:36
@toddbaert toddbaert self-assigned this Oct 19, 2023
Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's a new bug identified by this version of spotbugs.

I'll look into it.

@renovate renovate bot force-pushed the renovate/com.github.spotbugs-spotbugs-4.x branch 2 times, most recently from e47852b to e720f2e Compare October 20, 2023 19:28
@renovate renovate bot force-pushed the renovate/com.github.spotbugs-spotbugs-4.x branch from e720f2e to 419b6f7 Compare October 23, 2023 14:05
@sonarcloud
Copy link

sonarcloud bot commented Oct 23, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@toddbaert
Copy link
Member

Closing in favor of #663

@toddbaert toddbaert closed this Oct 23, 2023
auto-merge was automatically disabled October 23, 2023 20:46

Pull request was closed

@renovate
Copy link
Contributor Author

renovate bot commented Oct 23, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (4.8.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/com.github.spotbugs-spotbugs-4.x branch October 23, 2023 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant