On Mon, 31 May 2021 07:36:10 GMT, Сергей Цыпанов <github.com+10835776+stsypa...@openjdk.org> wrote:
> This a tiny follop-up of https://github.com/openjdk/jdk/pull/3571. > > The loop in `sun.reflect.misc.ReflectUtil.privateCheckPackageAccess()` is > redundant since `Class.getPackageName()` will already return the package name > of the innermost component type. Marked as reviewed by mchung (Reviewer). ------------- PR: https://git.openjdk.java.net/jdk/pull/4268