IRB completion fails in 1.9 with multiple dot notation elements
---------------------------------------------------------------
Key: JRUBY-5590
URL: http://jira.codehaus.org/browse/JRUBY-5590
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6RC3
Environment: windows 7
Reporter: Benjamin Gudehus
Assignee: Thomas E Enebo
Completion works when pressing tabulator key with irb (1.8.7).exe.
{code}
Welcome to the JRuby IRB Console [1.6.0.RC3 (1.8.7)]
>> import "javax.swing.JComboBox"
=> Java::JavaxSwing::JComboBox
>> JComboBox.new.model.
{code}
Completion doesn't work when pressing tabulator key with irb (1.9.2).exe.
{code}
Welcome to the JRuby IRB Console [1.6.0.RC3 (1.9.2)]
Switch to inspect mode.
>> import "javax.swing.JComboBox"
=> Java::JavaxSwing::JComboBox
>> JComboBox.new.model.
{code}
Here's the stack trace I get when I run the IRB Console
(org.jruby.demo.IRBConsole) with Ruby 1.9 support within my application.
{code}
Exception in thread "AWT-EventQueue-0" org.jruby.exceptions.RaiseException:
(TypeError) can't convert Module into String
at #<Class:0x100e3572b>.(class
InputCompletor)(file:/D:/jruby-complete-1.6.0.RC3.jar!/META-INF/jruby.home/lib/ruby/1.9/irb/completion.rb:160)
at
org.jruby.RubyObjectSpace.each_object(org/jruby/RubyObjectSpace.java:167)
at #<Class:0x100e3572b>.(class
InputCompletor)(file:/D:/jruby-complete-1.6.0.RC3.jar!/META-INF/jruby.home/lib/ruby/1.9/irb/completion.rb:154)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:256)
{code}
--
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