Bug#1130149: zstd-jni-java's autopkg test fails with OpenJDK 25

Matthias Klose doko at debian.org
Mon Mar 9 12:11:19 GMT 2026


Package: src:zstd-jni-java
Version: 1.5.2-5+ds-7
Severity: serious
Tags: sid forky

zstd-jni-java's autopkg test fails with OpenJDK 25, blocking the 
migration of java-common.

  47s autopkgtest [07:20:19]: test ZstdTest: [-----------------------
  48s WARNING: A restricted method in java.lang.System has been called
  48s 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)
  48s WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning 
for callers in this module
  48s WARNING: Restricted methods will be blocked in a future release 
unless native access is enabled
  48s
  48s autopkgtest [07:20:20]: test ZstdTest: -----------------------]
  48s autopkgtest [07:20:20]: test ZstdTest:  - - - - - - - - - - 
results - - - - - - - - - -
  48s ZstdTest             FAIL stderr: WARNING: A restricted method in 
java.lang.System has been called
  48s autopkgtest [07:20:20]: test ZstdTest:  - - - - - - - - - - stderr 
- - - - - - - - - -
  48s WARNING: A restricted method in java.lang.System has been called
  48s 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)
  48s WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning 
for callers in this module
  48s WARNING: Restricted methods will be blocked in a future release 
unless native access is enabled
  48s
  48s autopkgtest [07:20:20]: @@@@@@@@@@@@@@@@@@@@ summary
  48s ZstdTest             FAIL stderr: WARNING: A restricted method in 
java.lang.System has been called



More information about the pkg-java-maintainers mailing list