Hi all! I'm trying to reason about how jruby is interacting in Java 11 with some generated protobuf Java classes. In certain circumstances these generated classes will return a `java.util.Collections$UnmodifiableCollection` for a repeated field. In that case with pure Java in jshell I can still interact with methods of the returned collection (e.g. size), but from jruby 9.2.9.0 this fails like so: ``` jruby-9.2.9.0 :084 > coll => # jruby-9.2.9.0 :085 > coll.size Traceback (most recent call last): 6: from .../.rvm/rubies/jruby-9.2.9.0/bin/jirb:13:in `
' 5: from org/jruby/RubyKernel.java:1193:in `catch' 4: from org/jruby/RubyKernel.java:1193:in `catch' 3: from org/jruby/RubyKernel.java:1446:in `loop' 2: from org/jruby/RubyKernel.java:1052:in `eval' 1: from (irb):85:in `evaluate' TypeError (illegal access on 'size': class org.jruby.javasupport.JavaMethod (in module org.jruby.dist) cannot access a member of class java.util.Collections$UnmodifiableCollection (in module java.base) with modifiers "public") ```