From 1ef7e1489763ee0aa07048edca5860b91af39451 Mon Sep 17 00:00:00 2001 From: Markus KARG Date: Sun, 2 Jun 2024 15:37:37 +0000 Subject: [PATCH] Fixed: skip0 now is private --- src/java.base/unix/classes/sun/nio/ch/SocketDispatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java.base/unix/classes/sun/nio/ch/SocketDispatcher.java b/src/java.base/unix/classes/sun/nio/ch/SocketDispatcher.java index e8f55bed8dd3c..ef5823c94196c 100644 --- a/src/java.base/unix/classes/sun/nio/ch/SocketDispatcher.java +++ b/src/java.base/unix/classes/sun/nio/ch/SocketDispatcher.java @@ -92,7 +92,7 @@ static native int write0(FileDescriptor fd, long address, int len) static native long writev0(FileDescriptor fd, long address, int len) throws IOException; - static native long skip0(FileDescriptor fd, long n) + private static native long skip0(FileDescriptor fd, long n) throws IOException; static {