New issue

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

SignalException#signo (and signm) not defined. #3954

Closed
djberg96 opened this Issue Jun 7, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@djberg96
Contributor

djberg96 commented Jun 7, 2016

jruby 9.1.1.0 (2.3.0) 2016-05-19 fe84e89 Java HotSpot(TM) 64-Bit Server VM 25.45-b02 on 1.8.0_45-b14 +jit [darwin-x86_64]

It appears that SignalException#signo and #signm are not defined:

se = SignalException.new(6)
p se.signo # Expect 6
p se.signm # Expect "SIGABRT"

JRuby output:

NoMethodError: undefined method `signo' for #<SignalException: 6>
NoMethodError: undefined method `signm' for #<SignalException: 6>

Courtesy of berger_spec.

etehtsea added a commit to etehtsea/jruby that referenced this issue Sep 1, 2016

etehtsea added a commit to etehtsea/jruby that referenced this issue Sep 1, 2016

etehtsea added a commit to etehtsea/jruby that referenced this issue Sep 1, 2016

etehtsea added a commit to etehtsea/jruby that referenced this issue Sep 1, 2016

etehtsea added a commit to etehtsea/jruby that referenced this issue Sep 1, 2016

@kares kares closed this in #4126 Sep 15, 2016

kares added a commit that referenced this issue Sep 15, 2016

@kares kares added this to the JRuby 9.1.6.0 milestone Sep 15, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment