Skip to content
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

JRuby doesn't define Process::Tms like MRI does #2752

Closed
chrisseaton opened this issue Mar 24, 2015 · 0 comments
Closed

JRuby doesn't define Process::Tms like MRI does #2752

chrisseaton opened this issue Mar 24, 2015 · 0 comments

Comments

@chrisseaton
Copy link
Contributor

In MRI it's canonically Process::Tms and Struct::Tms is an alias. In JRuby there is only Struct::Tms.

$ irb
irb(main):001:0> Struct::Tms
=> Process::Tms
irb(main):002:0> Process::Tms
=> Process::Tms
irb(main):003:0> Struct::Tms == Process::Tms
=> true
$ bin/jruby bin/irb
irb(main):001:0> Struct::Tms
=> Struct::Tms
irb(main):002:0> Process::Tms
NameError: uninitialized constant Process::Tms
  from org/jruby/RubyModule.java:3103:in `const_missing'
  from (irb):2:in `<eval>'
  from org/jruby/RubyKernel.java:1005:in `eval'
  from org/jruby/RubyKernel.java:1315:in `loop'
  from org/jruby/RubyKernel.java:1125:in `catch'
  from org/jruby/RubyKernel.java:1125:in `catch'
  from bin/irb:13:in `<top>'
@chrisseaton chrisseaton added this to the 9.0.0.0.pre2 milestone Mar 24, 2015
@headius headius closed this as completed in 37486b9 Apr 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant