RFR 8207027 Lookup.accessClass fails for an array type in the same package when assertions are enabled
claes.redestad at oracle.com
Thu Jul 12 11:15:57 UTC 2018
On 2018-07-12 02:01, 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).
More information about the core-libs-dev