Details
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8293951 | 8u351 | Mandy Chung | P4 | Resolved | Delivered |
Description
`java.lang.ref.Reference::clone` method always throws `CloneNotSupportedException`. `Reference` objects cannot be meaningfully cloned. To create a new Reference object, call the constructor to create a `Reference` object with the same referent and reference queue instead.
Attachments
Issue Links
- backported by
-
JDK-8293951 Release Note: java.lang.ref.Reference Does Not Support Cloning
- Resolved