no compatibility Array#to_java(:Object) between JRuby 1.1.3 and JRuby 1.1.4
-----------------------------------------------------------------------------
Key: JRUBY-2972
URL: http://jira.codehaus.org/browse/JRUBY-2972
Project: JRuby
Issue Type: Bug
Components: Java Integration
Affects Versions: JRuby 1.1.4
Environment: Windows XP
JDK 1.5
JRuby 1.1.4
Reporter: Takeshi Kondo
jmx4r don't work on JRuby 1.1.4 because Array#to_java method may have a bug.
I have corrected org.jruby.javasupport.JavaUtil#318
from
return java_to_ruby(context.getRuntime(), rubyObject);
to
return ((org.jruby.javasupport.JavaObject) JavaUtil
.ruby_to_java(context.getRuntime().getObject(),
rubyObject,
Block.NULL_BLOCK)).getValue();
,
then jmx4r work.
Is it correct?
--
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