Releases: itsallcode/junit5-system-extensions
Releases · itsallcode/junit5-system-extensions
Release 1.2.2: Fix automatic release
This release fixes the automatic release process via GitHub Actions.
Bugfixes
- #74: Fix deployment to Maven Central
Delegate security manager calls
JUnit5 System Extensions 1.2.0, released 2021-04-26
Summary
When trapping System.exit
calls, the ExitGuardSecurityManager
now doesn't simply replace an existing security manager anymore. Instead it uses the existing one as a delegate for all checks except the exit check.
This way applications that require a security manager don't change their behavior.
Update of the release letter 2021-05-02:
This version actually contains a breaking change that we overlooked: from this release on only Java 11 and above are supported.
Features
- #23: Delegate security manager calls to the original security manager
Refactoring
- #21: Migrate to Maven Central
Allow muting System.out / System.err
To mute the output (i.e. don't forward output to System.out
/ System.err
) call stream.captureMuted()
instead of stream.capture()
. This can be useful to speed up unit tests.
See #16
Support for System.out and System.err
Assert System.exit(int)
Features:
- #1: Support asserting System.exit(int)