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

Frederic Parain fparain at openjdk.org
Thu May 23 18:19:27 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

This pull request has now been integrated.

Changeset: 0ea02dad
Author:    Frederic Parain <fparain at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/0ea02dad905376eb52e0f71368363bfc97f2cea1
Stats:     87 lines in 24 files changed: 29 ins; 2 del; 56 mod

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

Reviewed-by: heidinga

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

PR: https://git.openjdk.org/valhalla/pull/1108



More information about the valhalla-dev mailing list