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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 15
    • core-libs
    • None

      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.

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

              Created:
              Updated:
              Resolved: