Bug#1036066: jtreg6: missing hamcrest.jar in com.sun.javatest.regtest.tool.Tool classpath
Vladimir Petko
vladimir.petko at canonical.com
Sun May 14 21:52:48 BST 2023
Source: jtreg6
Version: 6.1+2-1ubuntu1
Severity: normal
X-Debbugs-Cc: vladimir.petko at canonical.com
Dear Maintainer,
com.sun.javatest.regtest.tool.Tool looks for hamcrest.jar in the jtreg/lib
directory[1] for junit tests.
Would it be possible to consider a patch that adds a link to hamcrest.jar so
that junit tests pass?
[1] src/share/classes/com/sun/javatest/regtest/tool/Tool.java:1700
-- System Information:
Debian Release: bookworm/sid
APT prefers lunar-updates
APT policy: (500, 'lunar-updates'), (500, 'lunar-security'), (500, 'lunar')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.2.0-20-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
commit eaa6c6c99745d3620c7532c76c7c882388bcc54c
Author: Vladimir Petko <vladimir.petko at canonical.com>
Date: Mon May 15 08:46:44 2023 +1200
missing hamcrest.jar
diff --git a/debian/jtreg6.links b/debian/jtreg6.links
index 9693cd1..0fa18f9 100644
--- a/debian/jtreg6.links
+++ b/debian/jtreg6.links
@@ -2,6 +2,7 @@ usr/share/jtreg/bin/jtreg /usr/bin/jtreg
usr/share/jtreg/bin/jtdiff /usr/bin/jtdiff
usr/share/java/hamcrest-core.jar /usr/share/jtreg/lib/hamcrest-core.jar
+usr/share/java/hamcrest.jar /usr/share/jtreg/lib/hamcrest.jar
usr/share/java/javatest.jar /usr/share/jtreg/lib/javatest.jar
usr/share/java/jcommander.jar /usr/share/jtreg/lib/jcommander.jar
usr/share/java/jh.jar /usr/share/jtreg/lib/jh.jar
@@ -10,6 +11,7 @@ usr/share/java/junit4.jar /usr/share/jtreg/lib/junit.jar
usr/share/java/testng.jar /usr/share/jtreg/lib/testng.jar
usr/share/java/hamcrest-core.jar /usr/share/jtreg/share/java/hamcrest-core.jar
+usr/share/java/hamcrest.jar /usr/share/jtreg/share/java/hamcrest.jar
usr/share/java/javatest.jar /usr/share/jtreg/share/java/javatest.jar
usr/share/java/jcommander.jar /usr/share/jtreg/share/java/jcommander.jar
usr/share/java/jh.jar /usr/share/jtreg/share/java/jh.jar
More information about the pkg-java-maintainers
mailing list