#1130186 jruby fails autopkgtests with default OpenJDK 25

#1130186#5
Date:
2026-03-09 19:34:19 UTC
From:
To:
Dear Maintainer,

jruby fails autopkgtests with default Java 25[1]

25) Failure:
2591s CGIUtilTest#test_cgi_unescape_accept_charset [/tmp/autopkgtest-
lxc.d0_mq60i/downtmp/autopkgtest_tmp/test/mri/cgi/test_cgi_util.rb:67]:
2591s assert_separately failed with error message
2591s pid 76470 exit 0
2591s | WARNING: A terminally deprecated method in sun.misc.Unsafe has been
called
2591s | WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by
org.jruby.util.StringSupport (file:/usr/share/jruby/lib/jruby.jar)
2591s | WARNING: Please consider reporting this to the maintainers of class
org.jruby.util.StringSupport
2591s | WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future
release
2591s | WARNING: A restricted method in java.lang.System has been called
2591s | WARNING: java.lang.System::load has been called by
com.kenai.jffi.internal.StubLoader in module org.jruby.dist
(file:/usr/share/jruby/lib/jruby.jar)
2591s | WARNING: Use --enable-native-access=org.jruby.dist to avoid a warning
for callers in this module
2591s | WARNING: Restricted methods will be blocked in a future release unless
native access is enabled
2591s |
2591s
2591s
2591s Finished tests in 411.740963s, 19.0217 tests/s, 513.0969 assertions/s.
2591s 7832 tests, 211263 assertions, 25 failures, 0 errors, 33 skips
2591s
2591s ruby -v: jruby 9.4.8.0 (3.1.4) 2025-05-22 9.4.8.0+ds OpenJDK 64-Bit
Server VM 25.0.2+10-Debian-1 on 25.0.2+10-Debian-1 +jit [x86_64-linux]
2592s rake aborted!



[1] https://ci.debian.net/packages/j/jruby/testing/amd64/69341002/

#1130186#12
Date:
2026-03-11 02:31:54 UTC
From:
To:
Dear Maintainers,

Would it be possible to consider the MR[1] as a proposed solution for
this issue.

Best regards,
Vladimir.

[1] https://salsa.debian.org/java-team/jruby/-/merge_requests/1