[PATCH] FFI: passing nil for a declared string parameter blows up
-----------------------------------------------------------------
Key: JRUBY-3372
URL: http://jira.codehaus.org/browse/JRUBY-3372
Project: JRuby
Issue Type: Bug
Components: Extensions
Reporter: Mike Dalessio
Priority: Minor
Attachments:
0002-allowing-passing-nil-as-a-string-argument-which-sim.patch
Passing _nil_ as a string parameter results in:
bq. DefaultMethodFactory.java:554:in `marshal': java.lang.ClassCastException:
org.jruby.RubyNil cannot be cast to org.jruby.RubyString
Failing spec has been committed to ruby-ffi:
bq. http://kenai.com/projects/ruby-ffi/sources/mercurial/revision/338
Patch is attached.
--
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