[Bug 2142090] [NEW] zstd-jni-java: autopkgtest failure with openjdk-25

Vladimir Petko 2142090 at bugs.launchpad.net
Wed Feb 18 07:44:37 UTC 2026


Public bug reported:

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

** Affects: java-common (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: zstd-jni-java (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: zstd-jni-java (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #1128318
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128318

** Also affects: zstd-jni-java (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128318
   Importance: Unknown
       Status: Unknown

** Also affects: zstd-jni-java (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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:
  New
Status in zstd-jni-java package in Debian:
  Unknown

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