EnumSet should be a sealed class

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      EnumSet is a public class but it has only package-private constructors, and the only intended subclasses are RegularEnumSet and JumboEnumSet. EnumSet should be turned into a sealed class that permits only those subclasses.

            Assignee:
            Jaikiran Pai
            Reporter:
            Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: