RFR: 8286637: (fc) Memory mapped regions bigger than 2GB do not work correctly on Windows [v2]
Brian Burkhalter
bpb at openjdk.java.net
Thu May 12 23:27:31 UTC 2022
On Thu, 12 May 2022 20:51:07 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> test/jdk/java/nio/channels/FileChannel/LargeMapTest.java line 25:
>>
>>> 23:
>>> 24: import jdk.incubator.foreign.MemorySegment;
>>> 25: import jdk.incubator.foreign.ResourceScope;
>>
>> Note that the JEP has just been integrated as well, so this package no longer exists. It should be `java.lang.foreign` now. `ResourceScope` was renamed to `MemorySession`, `newSharedScope` should now be `openShared`, and the test will need `@enablePreview` as well.
>>
>> (I think that's all that's needed)
>
> Thanks: I was not current on that.
Fixed by commit b5c3b0d9c25d3fcdee88f3e4f2b36c26e0de3d17.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8686
More information about the nio-dev
mailing list