Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 0.9.8
-
Component/s: Java Integration
-
Labels:None
-
Number of attachments :
Description
If you pass a Ruby Array to a java method that expects a Java primitive array it should be automatic.
Also in this vein We need a nicer syntax for making Arrays from Java The following is not so nice:
arr = JObject[].new(2)
arr[0] = 1
arr[1] = 2
Issue Links
- relates to
-
JRUBY-57
An array returned from Java is not mapped as expected to a list of Ruby variables
-
Fixing subject; this bug should be used to make easier syntax for both object and primitive arrays.