Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8246280

Refine API to model sealed classes and interfaces in javax.lang.model

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vromero Vicente Arturo Romero Zaldivar
              Reporter:
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: