[External] : Re: StackMapGenerator debug output
Michael van Acken
michael.van.acken at gmail.com
Thu Aug 4 08:54:14 UTC 2022
Am Do., 4. Aug. 2022 um 10:25 Uhr schrieb Adam Sotona <
adam.sotona at oracle.com>:
>
>
> I just got a basic VerifyError without further information:
>
>
>
> java.lang.VerifyError: Operand stack underflow
>
> at
> java.base/jdk.classfile.impl.StackMapGenerator$Frame.decStack(StackMapGenerator.java:1014)
>
>
>
> How can I activate the debug print you mention to get more information?
>
>
>
> -- mva
>
>
>
> A switch or other proposals are theoretical alternative implemenations in
> case the debug output directly in exception message cause issues.
>
>
>
> In this case the debug print failed and the reason of the failure is
> accessible from the VerifyError::getSuppressed.
>
> It would be greate to get the suppressed exception or the code causing the
> error with no dump.
>
The VerifyError's getSuppressed() gives me an array of length 0,
even after rebuilding from the most recent jdk-sandbox commit 3902fd2558.
-- mva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20220804/b7b6c65e/attachment-0001.htm>
More information about the classfile-api-dev
mailing list