Integrated: 8328261: public lookup fails with IllegalAccessException when used while module system is being initialized
Mandy Chung
mchung at openjdk.org
Tue Mar 19 15:58:27 UTC 2024
On Mon, 18 Mar 2024 17:40:26 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> A simple fix. This is caused by a bug in `VerifyAccess::isClassAccessible` that checks if a class is exported from `java.base` before the exports are fully setup. It should check if the module system is fully initialized before checking the module exports instead.
This pull request has now been integrated.
Changeset: 13292168
Author: Mandy Chung <mchung at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/132921683bc9860ce2ba89729dcd989b10b89aa2
Stats: 9 lines in 1 file changed: 1 ins; 5 del; 3 mod
8328261: public lookup fails with IllegalAccessException when used while module system is being initialized
Reviewed-by: rriggs, alanb
-------------
PR: https://git.openjdk.org/jdk/pull/18356
More information about the core-libs-dev
mailing list