Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8332387

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

XMLWordPrintable

      The latest update of the JVM spec (05/03/2024) changed the exception thrown by monitorenter/monitorexit when executed on an instance of a value class, from IllegalMonitorStateException to IdentityException.
      The implementation needs to be updated to comply with this spec change.

            fparain Frederic Parain
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: