java.io.Writer.write(char[], int, int) out of bounds exception

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • x86
    • windows_nt



      Name: bb33257 Date: 05/12/98


      When using a Writer to write(char[], int, int), and the offset + the
      length take you out of bounds, ArrayIndexOutOfBoundsException is
      thrown. IndexOutOfBounds should be thrown instead (according to
      the developer). The same problem exists for Reader.read(char[], int, int)

      ======================================================================

            Assignee:
            Zhenghua Li (Inactive)
            Reporter:
            Brian Beck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: