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.
Backport to 8u42 as proposed in [1] to improve java.lang.ref processing in Java SE 8 and JDK 8
[1] https://mail.openjdk.java.net/pipermail/jdk8u-dev/2022-April/014783.html
Fix Request
This is a critical issue required in Java SE 8 Maintenance Relase 4. Refer to the MR 4 proposal for details [1].
PR: https://github.com/openjdk/jdk8u-ri/pull/6
CSR: https://bugs.openjdk.java.net/browse/JDK-8285099
It has been reviewed and approved. A new test is included in the PR. The change is exact match
with the original fix except `@since 8` plus `@apiNote` to state that this method is defined in Java SE 8 MR 4.
The compatibility risk is low. This change only impacts subclasses of `java.lang.ref.Reference`
that rely on `Reference::clone` to return a cloned instance. For example, a custom `Reference`
subclass that implements `Cloneable` and overrides the `clone` method which should be rare.
[1] https://mail.openjdk.java.net/pipermail/jdk8u-dev/2022-April/014783.html