Integrated: 8254975: lambda proxy fails to access a protected member inherited from a split package
Mandy Chung
mchung at openjdk.java.net
Thu Oct 29 21:15:48 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.
This pull request has now been integrated.
Changeset: 5782a2a3
Author: Mandy Chung <mchung at 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
More information about the core-libs-dev
mailing list