git: openjdk/jdk: jdk26: 8374382: (aio) AsynchronousFileChannel writes wrong content using heap ByteBuffer when position != 0

Alan Bateman alanb at openjdk.org
Sat Jan 3 06:28:31 UTC 2026


Changeset: 6950503d
Branch: jdk26
Author:    Alan Bateman <alanb at openjdk.org>
Date:      2026-01-03 06:26:11 +0000
URL:       https://git.openjdk.org/jdk/commit/6950503dcf786e875a75c76141759e24ac46c3f4

8374382: (aio) AsynchronousFileChannel writes wrong content using heap ByteBuffer when position != 0

Reviewed-by: jpai
Backport-of: d9bd300c6eddfd30a83e53e7ae03c47ea43a9e08

! src/java.base/windows/classes/sun/nio/ch/WindowsAsynchronousFileChannelImpl.java
+ test/jdk/java/nio/channels/AsynchronousFileChannel/BufferPositions.java



More information about the jdk-changes mailing list