On Thu, 24 Jun 2021 18:42:23 GMT, Mandy Chung <mch...@openjdk.org> wrote:

> `Lookup::accessClass` should determine the accessibility of the element type. 
>  An array class is accessible if and only if its element type is accessible.
> 
> This also fixes a spec bug to document `@throws NullPointerException` if the 
> argument is null.
> 
> Please review the CSR:
>     https://bugs.openjdk.java.net/browse/JDK-8269312

Marked as reviewed by chegar (Reviewer).

test/jdk/java/lang/invoke/t8150782/TestFindClass.java line 42:

> 40: 
> 41: import org.testng.annotations.*;
> 42: import p.Foo;

maybe a stray import?

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

PR: https://git.openjdk.java.net/jdk17/pull/137

Reply via email to