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

Refine API for sealing in java.lang.Class

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mchung Mandy Chung
              Reporter:
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: