RFR: 8287154: java/nio/channels/FileChannel/LargeMapTest.java does not compile

Maurizio Cimadamore mcimadamore at openjdk.java.net
Mon May 23 10:18:23 UTC 2022


The patch pushed as part of https://git.openjdk.java.net/jdk/pull/8701 conflicts with a test added as part of PR https://github.com/openjdk/jdk/pull/8686.

That is, the test introduced in the latter patch depends on `MemorySegment.ofByteBuffer` which has been renamed to `ofBuffer` as part of the former patch.

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

Commit messages:
 - Fix FileChannelTest to use new `MemorySegment::ofBuffer` API

Changes: https://git.openjdk.java.net/jdk/pull/8839/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8839&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8287154
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8839.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8839/head:pull/8839

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


More information about the nio-dev mailing list