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

Iris Clark iris at openjdk.org
Tue Aug 16 16:21:24 UTC 2022


On Mon, 15 Aug 2022 16:42:06 GMT, Poonam Bajaj <poonam at openjdk.org> wrote:

> This is a clean backport of JDK-8201793 from jdk8u-ri to jdk8u-dev.
> 
> With this change, java.lang.ref.Reference::clone method always throws CloneNotSupportedException.

Spec changes match those in JSR 337 MR 4.

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

Marked as reviewed by iris (Author).

PR: https://git.openjdk.org/jdk8u-dev/pull/102


More information about the jdk8u-dev mailing list