[External] : Re: StackMapGenerator debug output

Michael van Acken michael.van.acken at gmail.com
Thu Aug 4 13:54:55 UTC 2022


Am Do., 4. Aug. 2022 um 15:41 Uhr schrieb Adam Sotona <
adam.sotona at oracle.com>:

>
>
> The faulty code seems to be this here, at the very beginning of a method:
>
>
>
> :accept CodeBuilder start
> with Load[OP=ILOAD_0, slot=0]
> with Invoke[OP=INVOKESTATIC,
> m=pkg/ns0/is-odd$rec-even.__create(ILpkg/ns0/is-odd$rec-odd;)Lpkg/ns0/is-odd$rec-even;]
>
>
>
> The lookup type of the invoke wants a second argument that does not exist.
>
>
>
> -- mva
>
>
>
> Thanks for investigation, it should be fixed now.
>
> I missed two cases, which were throwing the VerifyError directly (without
> attached debug info).
>

Yes, now this error scenario is pinpointed flawlessly as well.

Thanks again!

-- mva


>
>
> Thanks,
>
> Adam
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20220804/0e1a0340/attachment-0001.htm>


More information about the classfile-api-dev mailing list