I’ve created a Bean and BeanInfo class on the java side, but I can’t
seem to call the introspector on it. The error seems to imply it’s
getting passed some kind of Ruby wrapper.
Introspector.getBeanInfo(Foo.class)
:34: no getBeanInfo with arguments matching [class
org.jruby.RubyClass] on object Java::JavaBeans::Introspector
(NameError)
org.jruby.embed.EvalFailedException: no getBeanInfo with arguments
matching [class org.jruby.RubyClass] on object
Java::JavaBeans::Introspector
Should org.jruby.RubyClass really be there? I've tried to explicit
javaize it just to make sure it's not creating a wrapper, but it's not
working either.
Introspector.getBeanInfo(Foo.class.to_java)
Here you’re making a class in ruby and getting the BeanInfo from it?
I’m creating an object in jruby from a java class, where it doesn’t
have a become_java method.