-
Type:
Enhancement
-
Status: Resolved
-
Priority:
P4
-
Resolution: Not an Issue
-
Affects Version/s: 15
-
Fix Version/s: None
-
Component/s: core-libs
-
Labels:
-
Subcomponent:
Several alternatives exist for how information about sealing can be revealed through the java.lang.Class API. These include other names for the "permittedSubclasses" method to better capture that direct subclasses and direct subinterfaces are allowed and using an immutable list rather than an array as the aggregate in the return type.
- relates to
-
JDK-8254183 Compiler implementation for Sealed Classes (Second Preview)
-
- Closed
-
-
JDK-8246280 Refine API to model sealed classes and interfaces in javax.lang.model
-
- New
-
-
JDK-8227045 Preview APIs support for sealed classes
-
- Resolved
-