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

Collection interface docs says SortedMap is a collection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 17
    • core-libs

      A DESCRIPTION OF THE PROBLEM :
      It says "An additional case occurs with instances of SortedSet and SortedMap. These collections can be created with a Comparator that imposes an ordering on the set elements or map keys. Such a collection is serializable only if the provided Comparator is also serializable.". But SortedMap is a Map and Map is not a collection.




      FREQUENCY : always


            smarks Stuart Marks
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: