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

Refine API for sealing in java.lang.Class

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Not an Issue
    • P4
    • None
    • 15
    • core-libs

    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

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

              Dates

                Created:
                Updated:
                Resolved: