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

(coll spec) Documentation for ArrayList.removeRange() doesn't mention Exceptions

    XMLWordPrintable

Details

    Description

      Name: rmT116609 Date: 12/04/2003


      DESCRIPTION OF THE PROBLEM :
      Just go to http://java.sun.com/j2se/1.4.2/docs/api/java/util/ArrayList.html#removeRange(int,%20int)

      The docs for removeRange() don't mention any exceptions, although I imagine it must through ArrayIndexOutOfBounds. If it does not, it fails to mention what happens if the indices are out of bounds.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      http://java.sun.com/j2se/1.4.2/docs/api/java/util/ArrayList.html#removeRange(int,%20int)

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I would expect clarification

      (Incident Review ID: 229140)
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              martin Martin Buchholz
              rmandalasunw Ranjith Mandala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: