[Bug 2142090] Re: zstd-jni-java: autopkgtest failure with openjdk-25
Launchpad Bug Tracker
2142090 at bugs.launchpad.net
Fri Feb 20 13:22:05 UTC 2026
This bug was fixed in the package zstd-jni-java - 1.5.2-5+ds-7ubuntu1
---------------
zstd-jni-java (1.5.2-5+ds-7ubuntu1) resolute; urgency=medium
* d/t/ZstdTest: Add --enable-native-access flag (LP: #2142090)
(Closes: #1128318).
-- Vladimir Petko <vladimir.petko at canonical.com> Fri, 20 Feb 2026
10:08:04 +1300
** Changed in: zstd-jni-java (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to java-common in Ubuntu.
https://bugs.launchpad.net/bugs/2142090
Title:
zstd-jni-java: autopkgtest failure with openjdk-25
Status in java-common package in Ubuntu:
New
Status in zstd-jni-java package in Ubuntu:
Fix Released
Status in zstd-jni-java package in Debian:
Fix Committed
Bug description:
The autopkgtests fail due to the unexpected native access warning:
utopkgtest [02:22:12]: test ZstdTest: [-----------------------
759s WARNING: A restricted method in java.lang.System has been called
759s WARNING: java.lang.System::loadLibrary has been called by
com.github.luben.zstd.util.Native in an unnamed module
(file:/usr/share/java/zstd-jni-1.5.2-5.jar)
759s WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for
callers in this module
759s WARNING: Restricted methods will be blocked in a future release unless
native access is enabled
759s
760s autopkgtest [02:22:14]: test ZstdTest: -----------------------]
760s autopkgtest [02:22:14]: test ZstdTest: - - - - - - - - - - results - - -
- - - - - - -
760s ZstdTest FAIL stderr: WARNING: A restricted method in
java.lang.System has been called
[1]
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
resolute/resolute/arm64/z/zstd-jni-java/20260218_022231_fac87@/log.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/2142090/+subscriptions
More information about the foundations-bugs
mailing list