We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
Correct a format string in Signal#trap.
6a9fcf8
Fixes jruby#3208: Trapping reserved signals doesn't print a meaningful message
Simple format string error from holding down shift too long:
raise ArgumentError.new("can't trap reserved signal: SIG%S" % sig)
Sorry, something went wrong.
c93b271
18df48a
No branches or pull requests
Let's trap a reserved signal:
Output from MRI:
Output from JRuby 9.0.0.0
It seems like JRuby tries to print the error, but fails for some reason.
The text was updated successfully, but these errors were encountered: