junit5-system-exit upgrade to 2.0.2
This MR resolves #1108572.
New upstream release 2.0.2 uses Java Instrumentation API instead of Security Manager to intercept System.exit(). The package reverse build-depends on apache-opennlp and pgpainless.
- apache-opennlp has the dependency, but does not use it in the tests.
- pgpainless requires a patch.
Changes:
- d/control: add byte-buddy and libasm-java, 2.0.2 uses Java agent API to instrument System.exit() calls.
- d/p/0001-build-system.patch: use Groovy DSL for the distro gradle compatibility.
- d/p: removed old build system patches, upstream uses Kotlin DSL.
- d/rules: update test command to use java agent.
Testing:
- build in sid chroot
- rebuild of patched pgppainless pgpainless!3
Edited by Vladimir Petko