[jdk17] RFR: JDK-8266269: Lookup::accessClass fails with IAE when accessing an arrayClass with a protected inner class as component class [v2]
Alan Bateman
alanb at openjdk.java.net
Sat Jun 26 17:06:05 UTC 2021
On Fri, 25 Jun 2021 18:46:30 GMT, Mandy Chung <mchung at 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
>
> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
>
> remove extra import
Looks okay. In passing I think t8150782 is the only test directory using that naming convention. There are several tests using <bugid> in the directory name.
-------------
Marked as reviewed by alanb (Reviewer).
PR: https://git.openjdk.java.net/jdk17/pull/137
More information about the core-libs-dev
mailing list