jruby 1.6 RC1 ruby 1.9: org.jruby.RubyBasicObject cannot be cast to org.jruby.RubyObject -----------------------------------------------------------------------------------------
Key: JRUBY-5366 URL: http://jira.codehaus.org/browse/JRUBY-5366 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.6RC1 Reporter: Adrian Mowat Assignee: Thomas E Enebo Attachments: comparison_tree.rb, comparison_tree_spec.rb, jruby_1.6_RC1_bug.txt Using rspec v1.3.0, my specs work fine in 1.8 mode, but multiple failures occur when the --1.9 flag is set rannoch:DataSetEngine adrian$ jruby -S spec spec ............................................................................................................................................................................................................................................................................................ Finished in 1.928 seconds 284 examples, 0 failures rannoch:DataSetEngine adrian$ rannoch:DataSetEngine adrian$ jruby --1.9 -S spec spec /Users/adrian/lib/gems/gems/dbi-0.4.5/lib/dbi/handles.rb:12 warning: optional boolean argument is obsoleted ...................................................................................................................................................................................................F.....FFFFFFF...................F....................................F................F.. In all cases, the error is org.jruby.RubyBasicObject cannot be cast to org.jruby.RubyObject. The stack trace is very long so I have included it in a file attached to this report. I have also attached a spec and source code that produces one of these errors. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email