Issue Type: Bug Bug
Assignee: Wayne Meissner
Created: 15/Jun/12 11:13 PM
Description:

If you run the below command:

JAVA_HOME="/Library/Java/JavaVirtualMachines/1.7.0u4.jdk/Contents/Home/" time ./bin/jruby -Xffi.compile.threshold=1 -rffi  -e 'module LibC; extend FFI::Library; ffi_lib "c";attach_function :cputs, :puts, [:string], :int;end; p LibC.cputs("a", "b")'

You'll get a bunch of java trace, like so:

MethodHandleImpl.java:742:in `convertArguments': java.lang.invoke.WrongMethodTypeException: cannot convert to (ThreadContext,IRubyObject,IRubyObject,IRubyObject,IRubyObject)IRubyObject: MethodHandle(ThreadContext,IRubyObject,IRubyObject,IRubyObject)IRubyObject

This must be fixed before 1.7, and hopefully before 1.7-preview2

Project: JRuby
Priority: Major Major
Reporter: Wayne Meissner
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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

Reply via email to