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

Simplify Map/List/Set.of() implementation

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: