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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1.6
    • Component/s: 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.


        
       

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: