RFR (T): 8226203: MappedByteBuffer.force method may have no effect on implementation specific map modes

Andrew Dinn adinn at redhat.com
Tue Jun 18 16:15:04 UTC 2019


Could I please have a review for the following trivial change to the
javadoc for the two MappedByteBuffer.force methods:

  JIRA:   https://bugs.openjdk.java.net/browse/JDK-8226203
  webrev: http://cr.openjdk.java.net/~adinn/8226203/webrev.00/

It allows for the possibility of failures when extended map modes are
used to create the MappedByteBuffer.

The case documented here will not actually arise in JDK13 since nothing
in the JDK creates, let alone exposes extended map modes. However, it
would be better if the javadoc reflected that possibility. Is it still
possible to push this? If that is a problem then I am happy for it to go
into jdk14.

regards,


Andrew Dinn
-----------



More information about the core-libs-dev mailing list