![]() |
|
|
Issue Type:
|
Bug
|
Assignee:
|
Thomas E Enebo
|
Created:
|
11/Oct/12 4:39 PM
|
Description:
|
If you checkout this project:
https://github.com/rdp/ruby_simple_gui_creator
then $ git co dc294fc
now install the "sane" gem (sorry it was hard to reproduce it with a smaller test case, but it does reproduce).
then
$ cd ruby_simple_gui_creator/spec
$ jruby bad2.rb
then click the checkbox, you get this in 1.9 mode, but not 1.8 (same behavior with jruby 1.6.8, as well).
Exception in thread "AWT-EventQueue-0" org.jruby.exceptions.RaiseException: (ArgumentError) wrong number of arguments (1 for 0)
at org.jruby.gen.InterfaceImpl1237121478.itemStateChanged(org/jruby/gen/InterfaceImpl1237121478.gen:13)
It can be "worked around" by doing this type of thing:
- add_item_listener {
+ add_item_listener { |e|
but I don't think it's expected ![]()
The problem seems reproducible in linux or windows.
Thanks!
roger
|
Environment:
|
jruby 1.7.0.RC2 (1.9.3p203) 2012-10-09 142cc7b on Java HotSpot(TM) Client VM 1.6.0_35-b10 [Windows 7-x86]
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Roger Pack
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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