Code name: Mute output
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.
junit5-system-extensions
requires Java 11 to compile and at runtime.
- #23: Delegate security manager calls to the original security manager
- #21: Migrate to Maven Central