JDK-8285364 : Remove REF_ enum for java.lang.ref.Reference
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 19
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2022-04-21
  • Updated: 2022-04-22
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.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
After JDK-8283415, `j.l.r.Refernce` can not have more direct subclasses.

```
enum ReferenceType {
  ...
  REF_OTHER, // Subclass of java/lang/ref/Reference, but not subclass of one of the classes below
  ...
}
```

This enum value can be removed.
Comments
A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8332 Date: 2022-04-21 10:48:06 +0000
21-04-2022