Debian Patches

Status for junit4/4.13.2-6

Patch Description Author Forwarded Bugs Origin Last update
exclude-dependency-sources.patch Don't include hamcrest in the Javadoc (the source artifact isn't available) Emmanuel Bourg <ebourg@apache.org> not-needed 2020-11-01
Version.patch Version
diff --git a/src/main/java/junit/runner/Version.java b/src/main/java/junit/runner/Version.java
index 9f26384..81e07de 100644
Markus Koschany <apo@debian.org> no 2020-11-01
java17-compatibility.patch Disable doclint and change the source level to fix the build failure with OpenJDK 17 Emmanuel Bourg <ebourg@apache.org> yes debian
hamcrest-compatibility.patch Fixes the compatibility with the version of Hamcrest in Debian Emmanuel Bourg <ebourg@apache.org> not-needed
java21-compatibility.patch Fixes a test failure with Java 21 due to ThreadGroup changes Emmanuel Bourg <ebourg@apache.org> not-needed
java25-compatibility.patch Java 25 - workaround security manager removal Java 25 removes Security Manager. The patch replaces call to JUnitCore.main() method
with its implementation, avoid the call to System.exit().
The patch uses reflection to access package-local APIs to avoid changing public
JUnit API.
The patch is not needed upstream as the project is in maintenance mode and does
not accept new feature requests.
Vladimir Petko <vladimir.petko@canonical.com> not-needed debian 2025-12-03

All known versions for source package 'junit4'

Links