Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8201793 (ref) Reference object should not support cloning
  3. JDK-8203660

Release Note: java.lang.ref.Reference Does Not Support Cloning

XMLWordPrintable

    • Verified

        `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.

              mchung Mandy Chung
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: