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

Simplify Map/List/Set.of() implementation

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • None
    • core-libs

    Description

      Current implementations of the empty static factories (Map.of(), ...) delegate to static methods in java.util.ImmutableCollections. This indirection isn't really useful and adds a very small startup cost.

      Attachments

        Activity

          People

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: