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

Roger Riggs rriggs at openjdk.java.net
Thu Oct 29 18:36:52 UTC 2020


On Tue, 20 Oct 2020 18:13:39 GMT, Mandy Chung <mchung at 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.

Marked as reviewed by rriggs (Reviewer).

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

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


More information about the core-libs-dev mailing list