JDK-8287132 : Retire Runtime.runFinalizersOnExit so that it always throws UOE
Type:Enhancement
Component:core-libs
Sub-Component:java.lang
Affected Version:8u42
Priority:P3
Status:Resolved
Resolution:Fixed
Submitted:2022-05-23
Updated:2022-08-05
Resolved:2022-06-02
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.
Retire Runtime.runFinalizersOnExit so that it throws UOE.
Remove all dead code in JDK and hotspot in relation to that change.
Comments
A pull request was submitted for review.
URL: https://git.openjdk.org/jdk8u-dev/pull/92
Date: 2022-07-29 00:18:59 +0000
29-07-2022
8u42 Fix Request
This issue is required in Java SE 8 Maintenance Release 4. Refer to the MR 4 proposal for details [1].
It follows on from the reference processing changes already approved for backport to MR4:
- JDK-8175797: (ref) Reference::enqueue method should clear the reference object before enqueuing
- JDK-8178832: (ref) jdk.lang.ref.disableClearBeforeEnqueue property is ignored
- JDK-8193780: (ref) Remove the undocumented jdk.lang.ref.disableClearBeforeEnqueue system property
As per the CSR request (JDK-8287133) support for runFinalizersOnExit is considered incompatible with those changes, and not a feature that is actively used or relied upon, and so has very limited impact on existing code.
[1] https://mail.openjdk.java.net/pipermail/jdk8u-dev/2022-April/014783.html
28-07-2022
A pull request was submitted for review.
URL: https://git.openjdk.org/jdk8u/pull/13
Date: 2022-07-27 02:32:13 +0000
27-07-2022
JDK 8u Fix request
This issue is required for compliance with Java SE 8 Maintenance Release 4:
https://jcp.org/en/jsr/detail?id=337