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

incorrect spec in read(byte[]) and read(byte[], int, int) in DataInputStream

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • docs
    • None
    • sparc
    • solaris_7

      The specification of both read(byte[]) and read(byte[], int, int) reads:

      "See the general contract of the read method of DataInput. "

      However, there is no read(byte[]) or read(byte[], int, int) method in DataInput.
      It should be changed to InputStream.

            shommel Scott Hommel (Inactive)
            xwangsunw Xiaozhong Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: