Skip to content

java_send should be smart enough to unwrap the Ruby version of a Java class #638

@carllerche

Description

@carllerche

That's what @headius told me to say...

Trying to call java_send and pass references to the java classes results in the following error:

cannot convert instance of class org.jruby.RubyModule to class java.lang.Class

Using the following works:

java.lang.Class.for_name("com.netflix.astyanax.MutationBatch")

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions