diff --git a/src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java b/src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java index a08308e240d47..d9836518d1878 100644 --- a/src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java +++ b/src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java @@ -1640,7 +1640,7 @@ public String toString() { * value differently. * * @implSpec - * The {@code skip} method implementation of this class creates a + * The {@code skip} method implementation of this class creates an off-heap * byte array and then repeatedly reads into it until {@code n} bytes * have been read or the end of the stream has been reached. Subclasses are * encouraged to provide a more efficient implementation of this method. diff --git a/src/java.base/unix/classes/sun/nio/ch/SourceChannelImpl.java b/src/java.base/unix/classes/sun/nio/ch/SourceChannelImpl.java index 303a2c59f0432..1b98498f44952 100644 --- a/src/java.base/unix/classes/sun/nio/ch/SourceChannelImpl.java +++ b/src/java.base/unix/classes/sun/nio/ch/SourceChannelImpl.java @@ -375,7 +375,7 @@ public long read(ByteBuffer[] dsts) throws IOException { * value differently. * * @implSpec - * The {@code skip} method implementation of this class creates a + * The {@code skip} method implementation of this class creates an off-heap * byte array and then repeatedly reads into it until {@code n} bytes * have been read or the end of the stream has been reached. Subclasses are * encouraged to provide a more efficient implementation of this method. diff --git a/src/java.base/windows/classes/sun/nio/ch/SourceChannelImpl.java b/src/java.base/windows/classes/sun/nio/ch/SourceChannelImpl.java index 62c2c7d0becc2..0b050ba0ed420 100644 --- a/src/java.base/windows/classes/sun/nio/ch/SourceChannelImpl.java +++ b/src/java.base/windows/classes/sun/nio/ch/SourceChannelImpl.java @@ -151,7 +151,7 @@ public long read(ByteBuffer[] dsts) throws IOException { * value differently. * * @implSpec - * The {@code skip} method implementation of this class creates a + * The {@code skip} method implementation of this class creates an off-heap * byte array and then repeatedly reads into it until {@code n} bytes * have been read or the end of the stream has been reached. Subclasses are * encouraged to provide a more efficient implementation of this method.