Skip to content

Bump com.ginsberg:junit5-system-exit from 1.1.2 to 2.0.2#51

Open
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/gradle/com.ginsberg-junit5-system-exit-2.0.2
Open

Bump com.ginsberg:junit5-system-exit from 1.1.2 to 2.0.2#51
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/gradle/com.ginsberg-junit5-system-exit-2.0.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 8, 2026

Bumps com.ginsberg:junit5-system-exit from 1.1.2 to 2.0.2.

Release notes

Sourced from com.ginsberg:junit5-system-exit's releases.

Release v2.0.2

This is a bugfix release and is a drop-in replacement for version 2.0.0 and 2.0.1.

ChangeLog

  • Fix #24 - Reset test between assertion calls

Release 2.0.1

This is a bugfix release and is a drop-in replacement for version 2.0.0.

ChangeLog

  • Fix #20 - Multiple calls to System.exit() do not always register the first exit code as the cause.

Release 2.0.0 - New Java Agent-based Approach

Version 2.0.0 removes the terminally deprecated SecurityManager approach and now uses a Java Agent to rewrite bytecode as the JVM loads classes. Whenever a call to System.exit() is detected, the JUnit 5 System Exit Agent replaces that call with a function that records an attempt to exit, preventing the JVM from exiting. As a consequence of rewriting bytecode, this library now has one dependency - ASM.

Please see the Project README for comprehensive install instructions.

ChangeLog

  • Remove terminally deprecated SecurityManager approach for preventing System.exit() calls
  • Add Java Agent-based approach. Calls to System.exit() are rewritten as classes are loaded
  • Add AssertJ-style fluid assertions for cases when test authors do not want to use annotations, or want to write assertions after a System.exit() is detected
  • Upgrade Gradle to 8.10
  • Upgrade JUnit to 5.11.0
  • Switch to Kotlin DSL from Groovy DSL in Gradle build
  • Switch to GitHub Actions for build runner
Changelog

Sourced from com.ginsberg:junit5-system-exit's changelog.

2.0.2

2.0.1

2.0.0

  • Remove terminally deprecated SecurityManager approach for preventing System.exit() calls.
  • Add Java Agent-based approach. Calls to System.exit() are rewritten as classes are loaded.
  • Add AssertJ-style fluid assertions for cases when test authors do not want to use annotations, or want to write assertions after a System.exit() is detected.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.ginsberg:junit5-system-exit](https://github.com/tginsberg/junit5-system-exit) from 1.1.2 to 2.0.2.
- [Release notes](https://github.com/tginsberg/junit5-system-exit/releases)
- [Changelog](https://github.com/tginsberg/junit5-system-exit/blob/master/CHANGELOG.md)
- [Commits](tginsberg/junit5-system-exit@v.1.1.2...v2.0.2)

---
updated-dependencies:
- dependency-name: com.ginsberg:junit5-system-exit
  dependency-version: 2.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant