[jdk8u-ri] RFR: 8201793: (ref) Reference object should not support cloning

Iris Clark iris at openjdk.java.net
Thu Apr 21 21:19:36 UTC 2022


On Wed, 20 Apr 2022 00:59:26 GMT, Poonam Bajaj <poonam at openjdk.org> wrote:

> This changeset backports the fix for 8201793 to jdk8u-ri.
> 
> With this change, `java.lang.ref.Reference::clone` method always throws `CloneNotSupportedException`.

The proposed spec changes look good with the addition of the proposed @apinote.

-------------

Marked as reviewed by iris (Author).

PR: https://git.openjdk.java.net/jdk8u-ri/pull/6


More information about the jdk8u-dev mailing list