<div dir="ltr"><div>Hello,</div><div><br></div><div>when testing a recent build of the JDK with my bridge to ASM, I encountered some test failures. This is related to the stack size of a method being calculated with an additional, unnecessary slot. This can be reproduced using <a href="https://github.com/raphw/asm-jdk-bridge">https://github.com/raphw/asm-jdk-bridge</a></div><div><br></div><div>This can also be reproduced by inspecting the computed stack for:</div><div><div style="background-color:rgb(30,31,34);color:rgb(188,190,196)"><pre style="font-family:"JetBrains Mono",monospace;font-size:9.8pt"><span style="color:rgb(207,142,109)">void </span><span style="color:rgb(86,168,245)">c</span>() {<br>    <span style="color:rgb(207,142,109)">try </span>{<br>        <span style="color:rgb(207,142,109)">throw new </span>RuntimeException();<br>    } <span style="color:rgb(207,142,109)">catch </span>(RuntimeException e) {<br>    }<br>}</pre></div></div><div>which will be computed as 3 and not 2.</div><div><br></div><div>Best regards, Rafael<br></div></div>