changeset 44674:fd1b677c6bca

8178783: Java_sun_nio_ch_EPoll_close0 definition, but no sun.nio.ch.EPoll.close0 declaration. Summary: Delete unused method. Reviewed-by: rriggs, chegar
author bpb
date Fri, 14 Apr 2017 14:02:25 -0700
parents 828bdb62f7e3
children 70d078466856
files jdk/src/java.base/linux/native/libnio/ch/EPoll.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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);
-}