You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…Java
This is effectively a patch written by @headius and tested locally and applied
by me. In my use-case this allows Java code to properly reflect back into a
Ruby-generated Class and invoke a method which takes no arguments.
Fixesjruby#3206
…Java
This is effectively a patch written by @headius and tested locally and applied
by me. In my use-case this allows Java code to properly reflect back into a
Ruby-generated Class and invoke a method which takes no arguments.
Fixesjruby#3206
…ing) signatures
previously all method arities ended up as var-args : `foo(IRubyObject[] args)`
now for fixed arities we'll have correct number of args e.g. `foo(IRubyObject arg1)`
... we still generate var-args: `foo(IRubyObject[] args)` for all non-fixed arity sizes!
resolves#3206 and likely #449 also #3366 (java_signature is now honored)
…ing) signatures
previously all method arities ended up as var-args : `foo(IRubyObject[] args)`
now for fixed arities we'll have correct number of args e.g. `foo(IRubyObject arg1)`
... we still generate var-args: `foo(IRubyObject[] args)` for all non-fixed arity sizes!
resolves#3206 and likely #449 also #3366 (java_signature is now honored)
When experimenting with passing objects for invocation back and forth into Nashorn, I wrote the following code:
From the JavaScript, which uses reflection for invocation, I invoked this
#hello
raises this error:@headius wrote this patch which, when compiled and tested, properly allows the invocation of this JRuby-originating instantiated Java class
The text was updated successfully, but these errors were encountered: