Details
-
Type:
Bug
-
Status: Open
-
Priority:
P4
-
Resolution: Unresolved
-
Affects Version/s: repo-valhalla
-
Fix Version/s: repo-valhalla
-
Component/s: hotspot
-
Subcomponent:
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"
For example,
"Value classes cannot be synchronized: java.util.Optional"
Attachments
Issue Links
- relates to
-
JDK-8287241 Add IdentityException to report that a value object is not valid
-
- Resolved
-