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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • 15
    • core-libs
    • 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

              darcy Joe Darcy
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: