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
And getting TypeError: cannot convert instance of class org.jruby.RubyModule to class java.lang.Class
As far as I managed to understand, it is due to InterfaceJavaProxy.
In my example I managed to get rid of declaring interface type, but it may be needed anyway. Maybe I can help? Where should I start digging?
The text was updated successfully, but these errors were encountered:
This works in JRuby 9.0.0.0, at least with the code provided. If you still experience an issue with 9k, please re-open this ticket with some more details so we can help :)
[10] pry(main)> class A
[10] pry(main)* java_field 'java.util.List clients'
[10] pry(main)* end
=> nil
[11] pry(main)> JRUBY_VERSION
=> "9.0.0.0"
[12] pry(main)>
Trying to do as following:
And getting
TypeError: cannot convert instance of class org.jruby.RubyModule to class java.lang.Class
As far as I managed to understand, it is due to InterfaceJavaProxy.
In my example I managed to get rid of declaring interface type, but it may be needed anyway. Maybe I can help? Where should I start digging?
The text was updated successfully, but these errors were encountered: