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

Valhalla: MonitorStateException should identify the value class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      When a value class instance is used with synchronized the MonitorStateException that is thrown should identify the class with a helpful message.

      For example,
      "Value classes cannot be synchronized: java.util.Optional"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hseigel Harold Seigel
              Reporter:
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: