--- a/src/java.base/aix/native/libnet/aix_close.c Thu Nov 21 13:50:11 2019 +0530
+++ b/src/java.base/aix/native/libnet/aix_close.c Wed Nov 20 14:16:29 2019 +0100
@@ -1,6 +1,6 @@
/*
* Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2016, 2017, SAP SE and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2019, SAP SE and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -416,10 +416,6 @@
BLOCKING_IO_RETURN_INT(s, recv(s, buf, len, MSG_NONBLOCK));
}
-int NET_ReadV(int s, const struct iovec * vector, int count) {
- BLOCKING_IO_RETURN_INT( s, readv(s, vector, count) );
-}
-
int NET_RecvFrom(int s, void *buf, int len, unsigned int flags,
struct sockaddr *from, socklen_t *fromlen) {
BLOCKING_IO_RETURN_INT( s, recvfrom(s, buf, len, flags, from, fromlen) );
--- a/src/java.base/linux/native/libnet/linux_close.c Thu Nov 21 13:50:11 2019 +0530
+++ b/src/java.base/linux/native/libnet/linux_close.c Wed Nov 20 14:16:29 2019 +0100
@@ -373,10 +373,6 @@
BLOCKING_IO_RETURN_INT( s, recv(s, buf, len, MSG_DONTWAIT) );
}
-int NET_ReadV(int s, const struct iovec * vector, int count) {
- BLOCKING_IO_RETURN_INT( s, readv(s, vector, count) );
-}
-
int NET_RecvFrom(int s, void *buf, int len, unsigned int flags,
struct sockaddr *from, socklen_t *fromlen) {
BLOCKING_IO_RETURN_INT( s, recvfrom(s, buf, len, flags, from, fromlen) );
--- a/src/java.base/macosx/native/libnet/bsd_close.c Thu Nov 21 13:50:11 2019 +0530
+++ b/src/java.base/macosx/native/libnet/bsd_close.c Wed Nov 20 14:16:29 2019 +0100
@@ -377,10 +377,6 @@
BLOCKING_IO_RETURN_INT( s, recv(s, buf, len, MSG_DONTWAIT));
}
-int NET_ReadV(int s, const struct iovec * vector, int count) {
- BLOCKING_IO_RETURN_INT( s, readv(s, vector, count) );
-}
-
int NET_RecvFrom(int s, void *buf, int len, unsigned int flags,
struct sockaddr *from, socklen_t *fromlen) {
BLOCKING_IO_RETURN_INT( s, recvfrom(s, buf, len, flags, from, fromlen) );
--- a/src/java.base/solaris/native/libnet/solaris_close.c Thu Nov 21 13:50:11 2019 +0530
+++ b/src/java.base/solaris/native/libnet/solaris_close.c Wed Nov 20 14:16:29 2019 +0100
@@ -55,10 +55,6 @@
RESTARTABLE_RETURN_INT(recvfrom(s, buf, len, flags, from, fromlen));
}
-int NET_ReadV(int s, const struct iovec * vector, int count) {
- RESTARTABLE_RETURN_INT(readv(s, vector, count));
-}
-
int NET_Send(int s, void *msg, int len, unsigned int flags) {
RESTARTABLE_RETURN_INT(send(s, msg, len, flags));
}
--- a/src/java.base/unix/native/libnet/net_util_md.h Thu Nov 21 13:50:11 2019 +0530
+++ b/src/java.base/unix/native/libnet/net_util_md.h Wed Nov 20 14:16:29 2019 +0100
@@ -82,7 +82,6 @@
int NET_NonBlockingRead(int s, void* buf, size_t len);
int NET_RecvFrom(int s, void *buf, int len, unsigned int flags,
struct sockaddr *from, socklen_t *fromlen);
-int NET_ReadV(int s, const struct iovec * vector, int count);
int NET_Send(int s, void *msg, int len, unsigned int flags);
int NET_SendTo(int s, const void *msg, int len, unsigned int
flags, const struct sockaddr *to, int tolen);