From 9ba23195fbd5bd827adecb2f64529d505b97a242 Mon Sep 17 00:00:00 2001 From: Sampo Kuokkanen Date: Wed, 28 Oct 2026 16:36:21 +0900 Subject: [PATCH] Skip the core dump process wait test on JRuby. JRuby does not support `rlimit_*` spawn options, so `rlimit_core: 0` raises `ArgumentError` before the test can run. Add "java", JRuby's `RUBY_PLATFORM`, to the existing platform skip. --- test/io/event/selector.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/io/event/selector.rb b/test/io/event/selector.rb index cc4ab0f7..2e95d5f1 100644 --- a/test/io/event/selector.rb +++ b/test/io/event/selector.rb @@ -799,7 +799,7 @@ def await_io end it "reports termination by signal with a core dump" do - skip_if_ruby_platform(/darwin|mswin|mingw|cygwin/) + skip_if_ruby_platform(/darwin|mswin|mingw|cygwin|java/) command = ["ruby", "-e", "Process.kill(:ABRT, $$)"] spawn_options = {out: File::NULL, err: File::NULL, rlimit_core: 0}