JDK-8203660 : Release Note: java.lang.ref.Reference Does Not Support Cloning
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 8u351,openjdk8u352,11
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2018-05-22
  • Updated: 2022-09-16
  • Resolved: 2018-05-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 8
11Resolved 8u351Resolved
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.