April 5th, 2008

silver corset

(no subject)

On the whole, the JVMS is an incredibly well written document. However, I can't find where it says the following:

On calling an exception handler, all temporaries are popped from the stack before the exception object is pushed.

So you cannot keep temporaries on the stack, recover from an exception, and expect the temporaries still to be there when done. I'd have expected it in section 3.6 or 7.12.