Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.5
-
Fix Version/s: JRuby 1.6
-
Component/s: Intro, Java Integration
-
Labels:None
-
Environment:Soylatte 1.0.3
-
Patch Submitted:Yes
-
Number of attachments :
Description
Currently, if you try to pass a Ruby Fixnum to a Java method whose argument type is Serializable, it fails with a message that it can't coerce a Fixnum to Serializable. Well, I'm not going to accept such a defeatist attitude!!!
Yes, we can coerce a Fixnum to Serializable, and this patch proves it.