[lworld] RFR: 8332387: [lworld] monitorenter on value class instances must throw IdentityException instead of IllegalMonitorStateException

Dan Heidinga heidinga at openjdk.org
Thu May 23 17:32:13 UTC 2024


On Wed, 22 May 2024 19:58:01 GMT, Frederic Parain <fparain at openjdk.org> wrote:

> Change the exception thrown by monitorenter when attempted on an instance of a value class.
> Monitorexit is not changed according to some discussions about the JVMS changes (it still throws IllegalMonitorStateException).
> 
> Tested with Mach5, tier1-3.
> 
> Fred

Marked as reviewed by heidinga (no project role).

-------------

PR Review: https://git.openjdk.org/valhalla/pull/1108#pullrequestreview-2074620706



More information about the valhalla-dev mailing list