Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8048330 JEP 269: Convenience Factory Methods for Collections
  3. JDK-8133980

reuse emptySet, singletonSet, etc. for various views such as entrySet() on one-element Map

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • None

      This might save a bit of work, but it might also create new issues. The various built-in special collections such as emptySet() etc. mentioned are serializable. It's not clear we want this. In fact we might want all collections views NOT to be serializable.

            smarks Stuart Marks
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: