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

(bf) MappedByteBuffer.force method may have no effect on implementation specific map modes

    Details

    • Subcomponent:
    • Introduced In Version:
      13
    • Resolved In Build:
      b27
    • Verification:
      Not verified

      Backports

        Description

        The force methods defined by MappedByteBuffer have the following statement:

        "If this buffer was not mapped in read/write mode (FileChannel.MapMode.READ_WRITE) then invoking this method has no effect."

        This wording needs to be changed to take account of possible implementation specific map modes (see JDK-8221397), maybe something like:

        "This method has no effect for buffers mapped in read-only or private mapping modes. It may also have no effect for other implementation specific map modes."

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adinn Andrew Dinn
                  Reporter:
                  alanb Alan Bateman
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: