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

[lworld] IdentityException should identify the value class

XMLWordPrintable

      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"

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

              Created:
              Updated:
              Resolved: