Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8164993 (ch) ReadableByteChannel should note a possible IllegalArgumentException
  3. JDK-8240909

Release Note: Clarify the Specification of ReadableByteChannel.read() and Related Methods

    Details

    • Subcomponent:
    • Verification:
      Verified

      Description

      The specifications of the `DatagramChannel.receive()`, `FileChannel.read(ByteBuffer,long)`, `ReadableByteChannel.read()`, and `ScatteringByteChannel.read()` methods have been updated in this release to specify that an `IllegalArgumentException` is thrown if (any of) the buffer parameter(s) is read-only. This change merely adjusts the specification to match existing long term behavior.

        Attachments

          Activity

            People

            • Assignee:
              bpb Brian Burkhalter
              Reporter:
              bpb Brian Burkhalter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: