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
#<TypeError: illegal access on 'addListener': Class org.jruby.javasupport.JavaMethod can not access a member of class javafx.beans.property.ReadOnlyListWrapper$ReadOnlyPropertyImpl with modifiers "public">
org/jruby/java/proxies/JavaProxy.java:347:in `java_send'
the JRubyFX code calls ro_property_impl_object.java_send :addListener, [ChangeListener], block
replacing that with ro_property_impl_object.addListener block works as expected but warns about it picking one (as expected as there is addListener(ChangeListener) and addListener(invalidationListener))
I have discovered that ReadOnlyPropertyImpl is private and this seems to be the problem
Test cases in original bug. Also manifests itself in Netbeans JRuby 1.7.3 built-in sometimes. not sure how thats related
The text was updated successfully, but these errors were encountered:
Original bug: jruby/jrubyfx#39
the JRubyFX code calls
ro_property_impl_object.java_send :addListener, [ChangeListener], block
replacing that with
ro_property_impl_object.addListener block
works as expected but warns about it picking one (as expected as there is addListener(ChangeListener) and addListener(invalidationListener))I have discovered that ReadOnlyPropertyImpl is private and this seems to be the problem
Test cases in original bug. Also manifests itself in Netbeans JRuby 1.7.3 built-in sometimes. not sure how thats related
The text was updated successfully, but these errors were encountered: