RFR 8207027 Lookup.accessClass fails for an array type in the same package when assertions are enabled
mandy.chung at oracle.com
Thu Jul 12 15:07:15 UTC 2018
On 7/11/18 5:01 PM, Paul Sandoz wrote:
> Please review this fix for 11:
> The fix removes an old and now incorrect assert statement. This
> statement causes MethodHandles.Lookup.accessClass to fail when system
> assertions are enabled and an array class in the same package as the
> lookup class is passed as an argument.
> Usages of MethodHandles.Lookup.accessClass such as by
> ConstantBootstraps.arrayVarHandle will also fail, which results in a
> JCK test failure (reported in bug).
> Thanks, Paul.
More information about the core-libs-dev