Some Ruby instances are not roundtripping from Ruby to Java and back
--------------------------------------------------------------------
Key: JRUBY-3112
URL: http://jira.codehaus.org/browse/JRUBY-3112
Project: JRuby
Issue Type: Bug
Components: Miscellaneous
Affects Versions: JRuby 1.1.5
Environment: Soylatte 1.0.3
Reporter: Michael S. Allman
Attachments: jruby_roundtrip_bug.tgz
Ruby instances of Ruby classes that are subclasses of Java classes or
implementors of Java interfaces are not roundtripping from Ruby to Java and
back.
I am attaching code that triggers this bug. Compile and run the Java class
RoundtripBug. You should see
Exception in thread "main" src/roundtrip_me.rb:9:in `sayHello': undefined
method `sayHello' for #<#<Class:01x1875da7>:0x15a3a1> (NoMethodError)
from <script>:1
...internal jruby stack elided...
from RoundtripMeFactory.sayHello(<script>:1)
from (unknown).(unknown)(:1)
Ruby fails to find a method it should.
--
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