(bf) Allocation methods not specified to throw IAE on negative capacities

XMLWordPrintable

    • mantis
    • sparc
    • solaris_8
    • Verified

      build-06 :
      java.nio.ByteBuffer.allocate(int capacity) and allocateDirect(int capacity)
      throws java.lang.IllegalArgumentException if the capacity is < 0 .
      This is not documented . The testcase AllocTest.java is attached .

            Assignee:
            Iris Clark
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: