[External] : Re: StackMapGenerator debug output

Adam Sotona adam.sotona at oracle.com
Thu Aug 4 08:25:16 UTC 2022


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.

Thanks,
Adam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20220804/5dbf2a26/attachment.htm>


More information about the classfile-api-dev mailing list