JDK-8282536 : java.net.InetAddress should be a sealed class
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 19
  • Priority: P3
  • Status: In Progress
  • Resolution: Unresolved
  • Submitted: 2022-03-02
  • Updated: 2022-03-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
tbd masterUnresolved
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Description
The java.net.InetAddress has no public constructors, and only two subclasses in the same package, Inet4Address and Inet6Address, which are final.
InetAddress can be made a sealed abstract class that permits only Inet4Address and Inet6Address to extend.
Comments
A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/7789 Date: 2022-03-11 16:47:46 +0000
11-03-2022