Debian Patches

Status for jtreg8/8.1+1+ds1-1

Patch Description Author Forwarded Bugs Origin Last update
launchers.patch Modifies the launcher scripts to specify the default Java and jtreg paths Emmanuel Bourg <ebourg@apache.org> not-needed
do-not-export-headless-display.patch Enforce headless mode for self test JTREG ReportOnly test has a fixed test count that depends on HEADLESS
variable. Ensure that both DISPLAY and java.awt.headless
properties are set accordingly
Vladimir Petko <vladimir.petko@canonical.com> not-needed 2023-01-23
reproducible-build.patch Make the build reproducible Chris Lamb <lamby@debian.org> no debian 2023-06-22
apiguardian-01-build_gradle.patch patch build.gradle.kts to Groovy-based build.gradle for Debian not-needed
opentest4j-01-ignore-versioning-plugin.patch Disables the net.nemerosa.versioning plugin (not in Debian and irrelevant) Emmanuel Bourg <ebourg@apache.org> not-needed
opentest4j-02-ignore-github-pages-plugin.patch Disables the github-pages plugin Emmanuel Bourg <ebourg@apache.org> not-needed
opentest4j-03-ignore-spotless-plugin.patch Disables the spotless plugin Emmanuel Bourg <ebourg@apache.org> not-needed
opentest4j-04-reproducible-builds-timestamp.patch Add support for SOURCE_DATE_EPOCH to avoid embedding timestamp in .jar
file.

https://reproducible-builds.org/docs/source-date-epoch/
no
opentest4j-05-build-on-java-17.patch attempt build on Java versions >= 11 tony mancill <tmancill@debian.org> no debian
opentest4j-reporting-01-gradle-compatibility.patch Rewrite the build system without Kotlin until Gradle is upgraded to a recent version Emmanuel Bourg <ebourg@apache.org> not-needed
hawt-jni-02-commons-lang-dependency.patch Adds the missing dependency on commons-lang Emmanuel Bourg <ebourg@apache.org> yes
jline3-01-ignore-warnings.patch Removed -Werror tag Saif Abdul Cassim <saif.15@cse.mrt.ac.lk> not-needed
jline3-02-ignore-remote-modules.patch Ignore the remote-telnet and remote-ssh modules Saif Abdul Cassim <saif.15@cse.mrt.ac.lk> not-needed
jline3-03-java21-compatibility.patch Support building on JDK 21 Workaround [this-escape] warnings raised for constructors calling methods that can be
overridden in a subclass.
Guillaume Nodet <gnodet@gmail.com> not-needed debian upstream, https://github.com/jline/jline3/commit/05ee05dbc7b9c5ba9df8358d8a9fc58227101ed0 2024-01-26
picocli-0001-Adjust-build-to-work-without-asciidoctor.patch Adjust build to work without the following plugins: - asciidoctor
- bnd (so no OSGi metadata)
- org.beryx:badass-jar (so no multi-version JARs)
and with default java
Miroslav Kravec <kravec.miroslav@gmail.com> not-needed 2021-11-21
libhamcrest-java-04-gradle-build.patch Changes the build to work with the version of Gradle in Debian Emmanuel Bourg <ebourg@apache.org> not-needed
libhamcrest-java-05-backward-compatibility.patch Restores the compatibility with Hamcrest 1.x Emmanuel Bourg <ebourg@apache.org> not-needed
libhamcrest-java-06-type-inference-fix.patch Fixes the type inference errors when building with the source/target level set to Java 8 Emmanuel Bourg <ebourg@apache.org> not-needed
junit4-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
junit4-Version.patch Version Markus Koschany <apo@debian.org> no 2020-11-01
junit4-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
junit4-hamcrest-compatibility.patch Fixes the compatibility with the version of Hamcrest in Debian Emmanuel Bourg <ebourg@apache.org> not-needed
junit5-15-deprecated.patch call to AllDefaultPossibilitiesBuilder(boolean) is deprecated tony mancill <tmancill@debian.org> no debian 2022-02-06
junit5-16-maven-build.patch Alternative build system using Maven replacing Gradle until a more recent version is available in Debian Emmanuel Bourg <ebourg@apache.org> not-needed https://github.com/ebourg/junit5-maven-build
junit5-17-backward-compatibility.patch Restores the compatibility with the previous versions Emmanuel Bourg <ebourg@apache.org> not-needed
testng-build-with-gradle.patch Provide a Groovy gradle build for testng Vladimir Petko <vladimir.petko@canonical.com> not-needed
jtdiff-version.patch Remove comma from jtdiff version string jtdiff version string comma confuses help2man causing a lintian warning and a
corrupted man page.
Vladimir Petko <vladimir.petko@canonical.com> not-needed 2023-11-03
java21-codetools-7903646.patch Disable tests failing due to SecurityManager changes in agentvm In agentvm mode, the agent JVM does not set security manager for Java 18 + and
does not intercept System.exit() calls.
This causes agentvm mode behave differently from othervm - tests failing with
'Unexpected test exit' produce an 'Unexpected EOF' error or a SocketException
error.
Disable affected tests pending bug fix as it requires discussion with upstream
on the best way to fix it.
Vladimir Petko <vladimir.petko@canonical.com> not-needed debian upstream 2024-01-26
fix_junit5_error_message.patch Update test assertion to use older JUnit5 exception message Updating JUnit to 5.13.4 requires updating opentest4j-reporting to 0.2.4
and packaging immutables library (https://github.com/immutables/immutables).
Add a temporary patch that reverts the assertion.
The patch is not needed upstream, as it workarounds an outdated dependency
issue.
Vladimir Petko <vladimir.petko@canonical.com> not-needed 2025-08-05
codetools-7904101-proposed.patch intermittent failure in StreamsTest.agentvm.ok FileDescriptor test intermittently fails because the agent's process output
capture lacks synchronisation.
This PR fixes the issue:
- Agent VM prints the "process output separator" to stderr and stdout
before and after the action.
- The main vm uses the marker to stop reading the stream for the current
test result section (or a general agent log).
- The main vm restarts reading the log after updating the test section (or clearing it)
until the next marker or the process is shut down.
Vladimir Petko <vladimir.petko@canonical.com> yes debian upstream upstream, https://github.com/openjdk/jtreg/pull/295 2025-10-28
codetools-7904104-proposed.patch intermittent test failure in TimeoutDefaultSecondsWaiter victim.interrupt() is not needed if the process exits successfully
after the kill signal. This PR only calls interrupt() if the process
fails to exit or the wait is interrupted for some reason.
This allows TimeoutDefaultSecondsWaiter tests to pass.
Alternative: update assertion in TimeoutDefaultSecondsWaiter test.
Vladimir Petko <vladimir.petko@canonical.com> yes debian upstream upstream, https://github.com/openjdk/jtreg/pull/296 2025-10-28
codetools-7904105-proposed.patch intermittent test failure in CleanupDirTests.agentvm.conc jtharness does not synchronize calls to Observer. Synchronized keyword
needs to be added when processing shared state.
Vladimir Petko <vladimir.petko@canonical.com> yes debian upstream upstream, https://github.com/openjdk/jtreg/pull/297 2025-10-28
codetools-7904106-proposed.patch TestNativePath: use different work directories Both agentvm and othervm targets in TestNativePath use the same work path
$(BUILDTESTDIR)/nativepath.othervm/work.
This causes intermittent test failures when the tests are run in parallel.
Vladimir Petko <vladimir.petko@canonical.com> yes debian upstream upstream, https://github.com/openjdk/jtreg/pull/298 2025-10-28
codetools-7904107-proposed.patch AgentOut.othervm.ok should not access $(BUILDTESTDIR)/AgentOut.agentvm AgentOut.othervm.ok tries to access $(BUILDTESTDIR)/AgentOut.agentvm.
This should only happen in AgentOut.agentvm.ok.
Add a new target to filter log lines that depends on AgentOut.agentvm.ok.
Vladimir Petko <vladimir.petko@canonical.com> yes debian upstream upstream, https://github.com/openjdk/jtreg/pull/299 2025-10-28

All known versions for source package 'jtreg8'

Links