Skip to content

Trapping reserved signals doesn't print a meaningful message #3208

@kyrylo

Description

@kyrylo

Let's trap a reserved signal:

trap(:ILL) {}

Output from MRI:

ArgumentError: can't trap reserved signal: SIGILL

Output from JRuby 9.0.0.0

ArgumentError: malformed format string - %S
from org/jruby/RubyString.java:1168:in `%'

It seems like JRuby tries to print the error, but fails for some reason.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions