JDK 10 RFR of 8178783: Java_sun_nio_ch_EPoll_close0 definition, but no sun.nio.ch.EPoll.close0 declaration.

Brian Burkhalter brian.burkhalter at oracle.com
Fri Apr 14 20:19:42 UTC 2017


This eliminates an unused method only.

https://bugs.openjdk.java.net/browse/JDK-8178783

Thanks,

Brian

[1] diff

--- a/src/java.base/linux/native/libnio/ch/EPoll.c
+++ b/src/java.base/linux/native/libnio/ch/EPoll.c
@@ -95,9 +95,3 @@
     }
     return res;
 }
-
-JNIEXPORT void JNICALL
-Java_sun_nio_ch_EPoll_close0(JNIEnv *env, jclass c, jint epfd) {
-    int res;
-    RESTARTABLE(close(epfd), res);
-}


More information about the nio-dev mailing list