On Tue, 20 Oct 2020 18:13:39 GMT, Mandy Chung <mch...@openjdk.org> wrote:

> It's a bug in determining if a protected member inherited from a superclass 
> is in
> a split package as its host class that it only checks on the package name.  
> 
> The fix is simple and compare the runtime package of the lambda class (which
> is in the same runtime package as the host class) with that of the declaring 
> class
> of the protected member being accessed.

This pull request has now been integrated.

Changeset: 5782a2a3
Author:    Mandy Chung <mch...@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5782a2a3
Stats:     86 lines in 2 files changed: 77 ins; 1 del; 8 mod

8254975: lambda proxy fails to access a protected member inherited from a split 
package

Reviewed-by: rriggs

-------------

PR: https://git.openjdk.java.net/jdk/pull/767

Reply via email to