On Mon, 18 Mar 2024 17:40:26 GMT, Mandy Chung <mch...@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 <mch...@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

Reply via email to