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

java.io.StringWriter(int) size < 0 wrong exception thrown

XMLWordPrintable

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

      StringWriter(int initialSize) with initialSzie param < 0 the
      NegativeArraySizeException is thrown. The Expected IllegalArgumentException
      should be thrown in this case.


        
       

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: