RFR: 8282191: Implementation of Foreign Function & Memory API (Preview) [v45]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri May 13 09:48:02 UTC 2022


On Fri, 13 May 2022 08:33:11 GMT, Uwe Schindler <uschindler at openjdk.org> wrote:

>> src/java.base/share/classes/java/nio/channels/FileChannel.java line 1045:
>> 
>>> 1043:      *
>>> 1044:      * @throws UnsupportedOperationException
>>> 1045:      *         If an unsupported map mode is specified.
>> 
>> I think this should mention that UOE is also throws if the filesystem implementation does not support memory mapping. This may happen for filesystems like jrtfs or custom wrapper filesystems that do not implement the method below.
>> 
>> As this is already merged, should I open a PR fixing the docs or open an issue?
>
> This change here also closes [JDK-8259034](https://bugs.openjdk.java.net/browse/JDK-8259034)

@uschindler - the issue you mention with respect lack of UOE for wrong file system applies to BB as well. I suggest filing an issue.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7888



More information about the build-dev mailing list