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

java.io.PrintWriter write(char[], int, int) len, off < 0 wrong exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.6
    • core-libs
    • None
    • sparc
    • solaris_2.6

      PipedWriter write(char[] buf, int off, int len) with off, len params < 0
      ArrayIndexOutOfBoundsException is thrown. The Expected IllegalArgumentException
      should be thrown in these cases.

        
       

            mr Mark Reinhold
            mcolburnsunw Michael Colburn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: