RFR: 8328261: public lookup fails with IllegalAccessException when used while module system is being initialized
Alan Bateman
alanb at openjdk.org
Tue Mar 19 01:08:20 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.
Marked as reviewed by alanb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/18356#pullrequestreview-1944755743
More information about the core-libs-dev
mailing list