-
Sub-task
-
Resolution: Fixed
-
P3
-
19
-
b16
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.
InetAddress can be made a sealed abstract class that permits only Inet4Address and Inet6Address to extend.
- csr for
-
JDK-8282880 java.net.InetAddress should be a sealed class
-
- Closed
-
- relates to
-
JDK-8282131 java.time.ZoneId should be a sealed abstract class
-
- Resolved
-
-
JDK-8282572 EnumSet should be a sealed class
-
- Resolved
-
-
JDK-8283414 Update java.base to use sealed classes (umbrella)
-
- Closed
-
(1 links to)