[lworld] RFR: 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

Dan,

Thank you for the review.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1108#issuecomment-2127773321



More information about the valhalla-dev mailing list