Fix autopkgtests for Java 25

This MR resolves 1128318.

Note: upstream has an exising bug https://github.com/luben/zstd-jni/issues/371 and they do not want to suppress the warning through the manifest entry, so I just modified the autopkgtest.

Changes:

  • add --enable-native-access flag in the autopkgtest

Testing:

  • ran autopkgtest with Java 25 default:
$ autopkgtest --apt-pocket=proposed=src:java-common -U -B zstd-jni-java/ -- lxd ubuntu-daily:resolute
...
No VM guests are running outdated hypervisor (qemu) binaries on this host.
autopkgtest [10:22:03]: test ZstdTest: [-----------------------
autopkgtest [10:22:04]: test ZstdTest: -----------------------]
autopkgtest [10:22:04]: test ZstdTest:  - - - - - - - - - - results - - - - - - - - - -
ZstdTest             PASS
autopkgtest [10:22:04]: @@@@@@@@@@@@@@@@@@@@ summary
ZstdTest             PASS
Edited by Vladimir Petko

Merge request reports

Loading