RFR 8217223 [lworld][c1] monitorenter on value object should throw IllegalMonitorStateException
tobias.hartmann at oracle.com
Wed Jan 16 17:31:07 UTC 2019
On 16.01.19 07:58, David Holmes wrote:
> That seems strange behaviour. If an exception is thrown anywhere then the compiler should take care
> of finding the first applicable catch block for it! If it doesn't then isn't that the bug that
> should be fixed?
This is the same for C2 and just a limitation on which exceptions from a runtime stub call the
compiled code can handle. It cannot happen with normal code but only with the changes that Ioi did
in a first version of the patch.
More information about the valhalla-dev