We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29af9b0 commit 65bd51bCopy full SHA for 65bd51b
patches/jdk8u_android.diff
@@ -59882,6 +59882,22 @@ index bd0bd8c2c9..f6273dff47 100644
59882
#include <arpa/inet.h>
59883
#include <net/route.h>
59884
#include <sys/utsname.h>
59885
+@@ -319,6 +319,7 @@ jint IPv6_supported()
59886
+ SOCKADDR sa;
59887
+ socklen_t sa_len = sizeof(sa);
59888
+
59889
++#ifndef __ANDROID__ // ANDROID: skip check, see libcore commit ae218d9b
59890
+ fd = JVM_Socket(AF_INET6, SOCK_STREAM, 0) ;
59891
+ if (fd < 0) {
59892
+ /*
59893
+@@ -363,6 +364,7 @@ jint IPv6_supported()
59894
+ }
59895
59896
+ #endif
59897
++#endif // !defined __ANDROID__
59898
59899
+ /**
59900
+ * On Solaris 8 it's possible to create INET6 sockets even
59901
@@ -577,7 +581,9 @@ static void initLoopbackRoutes() {
59902
*/
59903
if ( (dest_plen < 0 || dest_plen > 128) ||
0 commit comments