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
A method reference to protected method in base class in other package fails with java.lang.IllegalAccessError at runtime.
Probably since it is called from a generated inner class which is not a subclass of the base class, and therefore cannot access the protected method the base class in other package. java.lang.IllegalAccessError: Method 'void com.foo.common.BaseClass.someMethod()' is inaccessible to class 'com.foo.stuff.Subclass$$Lambda$3'
A method reference to protected method in base class in other package fails with java.lang.IllegalAccessError at runtime.
Probably since it is called from a generated inner class which is not a subclass of the base class, and therefore cannot access the protected method the base class in other package.
java.lang.IllegalAccessError: Method 'void com.foo.common.BaseClass.someMethod()' is inaccessible to class 'com.foo.stuff.Subclass$$Lambda$3'
com.foo.stuff.Subclass extends com.foo.common.BaseClass.
The text was updated successfully, but these errors were encountered: