You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
irb(main):005:0> klasses = String
=> String
irb(main):006:0> [*klasses]
NoMethodError: undefined method `to_a' for String:Class
from org/jruby/RubyBasicObject.java:1606:in `method_missing'
from (irb):6: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 /Users/ahawkins/.rbenv/versions/jruby-9.0.0.0.pre2/bin/irb:13:in `<top>'
I have no idea what the intended behavior is, if this is a weird MRI thing or a missing method in jRuby.
The text was updated successfully, but these errors were encountered:
I came across this code trying out some of my thrift related things on jruby 9000. Here's the relevant source: https://github.com/apache/thrift/blob/master/lib/rb/lib/thrift/types.rb#L46-68
Now for the offending source.
On MRI 2.2:
[String]
On JRuby 9000:
I have no idea what the intended behavior is, if this is a weird MRI thing or a missing method in jRuby.
The text was updated successfully, but these errors were encountered: