diff --git a/core/src/main/java/org/jruby/RubyThread.java b/core/src/main/java/org/jruby/RubyThread.java index 1d88c5fd8c4..f6b1f6b5a25 100644 --- a/core/src/main/java/org/jruby/RubyThread.java +++ b/core/src/main/java/org/jruby/RubyThread.java @@ -879,7 +879,7 @@ public static IRubyObject pending_interrupt_p_s(ThreadContext context, IRubyObje return context.getThread().pending_interrupt_p(context); } - @JRubyMethod(name = "pending_interrupt?", meta = true, optional = 1, checkArity = false) + @JRubyMethod(name = "pending_interrupt?", meta = true) public static IRubyObject pending_interrupt_p_s(ThreadContext context, IRubyObject self, IRubyObject err) { return context.getThread().pending_interrupt_p(context, err); }