Details
Description
When checking accessiblity of a symbol found during resolution, it should be checked from the call site and not from the owner type.
currently, such cases won't resolve methods properly :
package p1; public class A extends B {} class B { public int foo(){}; } package p2; class C { void fun(A a) { a.foo(); // Method not resolved if accessibility checked from owner as classes are not in the same package } }