The problem here is "we are unable to use protected java method in jruby since jdk9 with the JRuby 9.x" even if the super class method declared as "protected".
So far we are overriding the protected method by public method in the sub-class. But now that does't seem to work even.
To overcome this issue, we have to make sure all the methods are which are getting invoked by JRuby should be public and accessible.
The problem here is "we are unable to use protected java method in jruby since jdk9 with the JRuby 9.x" even if the super class method declared as "protected".
So far we are overriding the protected method by public method in the sub-class. But now that does't seem to work even.
To overcome this issue, we have to make sure all the methods are which are getting invoked by JRuby should be public and accessible.
This issue is similar to https://github.com/jruby/jruby/issues/4851