Details
-
Enhancement
-
Status: Open
-
P4
-
Resolution: Unresolved
-
15
-
None
Description
The API modeling sealed classes and interfaces in javax.lang.model may benefit from some refinement.
In particular, the "getPermittedSubclasses" may be renamed to convey subtypes are classes or interfaces can be returned. In any case, the discussion of the nature of "permitted subclasses" should be explained in more detail.
In particular, the "getPermittedSubclasses" may be renamed to convey subtypes are classes or interfaces can be returned. In any case, the discussion of the nature of "permitted subclasses" should be explained in more detail.
Attachments
Issue Links
- relates to
-
JDK-8246278 Refine API for sealing in java.lang.Class
-
- Resolved
-
-
JDK-8244367 javax.lang.model for sealed classes
-
- Closed
-