Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions patches/jdk8u_android.diff
Original file line number Diff line number Diff line change
Expand Up @@ -59882,6 +59882,22 @@ index bd0bd8c2c9..f6273dff47 100644
#include <arpa/inet.h>
#include <net/route.h>
#include <sys/utsname.h>
@@ -319,6 +319,7 @@ jint IPv6_supported()
SOCKADDR sa;
socklen_t sa_len = sizeof(sa);

+#ifndef __ANDROID__ // ANDROID: skip check, see libcore commit ae218d9b
fd = JVM_Socket(AF_INET6, SOCK_STREAM, 0) ;
if (fd < 0) {
/*
@@ -363,6 +364,7 @@ jint IPv6_supported()
}
}
#endif
+#endif // !defined __ANDROID__

/**
* On Solaris 8 it's possible to create INET6 sockets even
@@ -577,7 +581,9 @@ static void initLoopbackRoutes() {
*/
if ( (dest_plen < 0 || dest_plen > 128) ||
Expand Down