[REGRESSION] Converting a Ruby array to a Java array (of Object references)
broken
----------------------------------------------------------------------------------
Key: JRUBY-2870
URL: http://jira.codehaus.org/browse/JRUBY-2870
Project: JRuby
Issue Type: Bug
Components: Java Integration
Reporter: Ola Bini
Assignee: Charles Oliver Nutter
Priority: Critical
The recent Java primitive array fixes have broken some functionality. My recent
checkin with Java Integration primitive array specs includes three commented
out examples that demonstrate this behavior. The problem can be summarized as
this:
{noformat}
arr = [ java.util.HashMap.new ]
arr.to_java java.util.HashMap
{noformat}
This is true no matter what reference type you use, except for Strings, it
seems like. Primitive values are unaffected.
--
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