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

Closed
djberg96 opened this Issue Jun 7, 2016 · 0 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 etehtsea added a commit to etehtsea/jruby that referenced this issue Sep 1, 2016
@etehtsea etehtsea Direct port of SignalException from MRI
Fixes #3954
a0fc383
@etehtsea etehtsea added a commit to etehtsea/jruby that referenced this issue Sep 1, 2016
@etehtsea etehtsea Direct port of SignalException from MRI
Fixes #3954
cba615c
@etehtsea etehtsea added a commit to etehtsea/jruby that referenced this issue Sep 1, 2016
@etehtsea etehtsea Direct port of SignalException from MRI
Fixes #3954
e03b961
@etehtsea etehtsea added a commit to etehtsea/jruby that referenced this issue Sep 1, 2016
@etehtsea etehtsea Direct port of SignalException from MRI
Fixes #3954
37638bb
@etehtsea etehtsea added a commit to etehtsea/jruby that referenced this issue Sep 1, 2016
@etehtsea etehtsea Direct port of SignalException from MRI
Fixes #3954
ffa2c63
@kares kares closed this in #4126 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