8178783: Java_sun_nio_ch_EPoll_close0 definition, but no sun.nio.ch.EPoll.close0 declaration.
authorbpb
Fri, 14 Apr 2017 14:02:25 -0700
changeset 44674 fd1b677c6bca
parent 44673 828bdb62f7e3
child 44675 70d078466856
8178783: Java_sun_nio_ch_EPoll_close0 definition, but no sun.nio.ch.EPoll.close0 declaration. Summary: Delete unused method. Reviewed-by: rriggs, chegar
jdk/src/java.base/linux/native/libnio/ch/EPoll.c
--- a/jdk/src/java.base/linux/native/libnio/ch/EPoll.c	Sat Apr 15 00:58:21 2017 +0800
+++ b/jdk/src/java.base/linux/native/libnio/ch/EPoll.c	Fri Apr 14 14:02:25 2017 -0700
@@ -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);
-}