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

(ch spec) typo in WritableByteChannel.write() - "dst" -> "src"

XMLWordPrintable

    • b27
    • x86
    • windows_2000



      Name: rmT116609 Date: 04/29/2002


       FULL PRODUCT VERSION :
       java version "1.4.0"
       Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
       Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

       DESCRIPTION OF THE PROBLEM :

       See:
           http://java.sun.com/j2se/1.4/docs/api/java/nio/channels/WritableByteChannel.html#write(java.nio.ByteBuffer)

       From the java.nio.channels.WritableByteChannel.write(ByteBuffer src) method:

       /*

       where r is the number of bytes remaining in the buffer, that is, dst.remaining()

       */

       dst.remaining() ?

       What exactly is this "dst" ? There is no "dst" in the method signature.


      (Review ID: 145987)
      ======================================================================

            sjiang Shanliang Jiang (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: