8212000: Verify exported symbols in java.base (libnet, libnio/ch)

Reviewed-by: alanb, chegar
This commit is contained in:
Pavel Rappo 2018-10-10 14:13:32 +01:00
parent df92fc0954
commit a9efcea778
5 changed files with 5 additions and 10 deletions

View file

@ -1546,7 +1546,7 @@ NET_Bind(int fd, SOCKETADDRESS *sa, int len)
* It returns the time left from the timeout (possibly 0), or -1 if it expired.
*/
JNIEXPORT jint JNICALL
jint
NET_Wait(JNIEnv *env, jint fd, jint flags, jint timeout)
{
jlong prevNanoTime = JVM_NanoTime(env, 0);

View file

@ -747,8 +747,7 @@ Java_sun_nio_ch_Net_pollconnValue(JNIEnv *env, jclass this)
/* Declared in nio_util.h */
JNIEXPORT jint JNICALL
handleSocketError(JNIEnv *env, jint errorValue)
jint handleSocketError(JNIEnv *env, jint errorValue)
{
char *xn;
switch (errorValue) {

View file

@ -62,5 +62,4 @@ jlong convertLongReturnVal(JNIEnv *env, jlong n, jboolean reading);
/* Defined in Net.c */
JNIEXPORT jint JNICALL
handleSocketError(JNIEnv *env, jint errorValue);
jint handleSocketError(JNIEnv *env, jint errorValue);