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

AbstractMap Specification includes Throws: ClassCastException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • docs
    • None
    • beta
    • sparc
    • solaris_7

      Methods <public boolean containsKey(Objecrt key)> and <public Object
      get(Object key)> in Class AbstractMap do not throw ClassCastException.
      The sentence <Throws: ClassCastException - if the specified key is of
      an inappropriate type.> is not needed in the description of containKey
      method and get method in Class java.util.AbstractMap in the specification
      of Java 2 Platform Std. Ed. v1.3.

       

            jhosunw Jamie Ho (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: