On Fri, 25 Jun 2021 08:44:54 GMT, Chris Hegarty <che...@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
>
> test/jdk/java/lang/invoke/t8150782/TestFindClass.java line 42:
> 
>> 40: 
>> 41: import org.testng.annotations.*;
>> 42: import p.Foo;
> 
> maybe a stray import?

Yup. Will remove it.

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

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

Reply via email to