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

Element.getElementIndex input and outputs not sufficiently specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0
    • docs
    • beta2
    • x86
    • windows_95



      Name: rm29839 Date: 05/12/98


      The description for Element.getElementIndex(int)
      does not specify:
      - whether the offset parameter will always have
        a valid value
      - what getElementIndex is supposed to do if the
        offset parameter is negative, or is not in the
        range of offsets covered by the element
        (e.g., is getElementIndex supposed to throw
        an exception, or to return a special index
        value)?
      (Review ID: 28570)
      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            rmandelsunw Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: