Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels