jdk/src/java.base/unix/native/libnio/ch/ServerSocketChannelImpl.c
changeset 29118 8782a8e91d4c
parent 25859 3317bb8137f4
child 41380 c27cf95dd7e6
equal deleted inserted replaced
29117:7956b5dc0eac 29118:8782a8e91d4c
    82     jint newfd;
    82     jint newfd;
    83     struct sockaddr *sa;
    83     struct sockaddr *sa;
    84     int alloc_len;
    84     int alloc_len;
    85     jobject remote_ia = 0;
    85     jobject remote_ia = 0;
    86     jobject isa;
    86     jobject isa;
    87     jint remote_port;
    87     jint remote_port = 0;
    88 
    88 
    89     NET_AllocSockaddr(&sa, &alloc_len);
    89     NET_AllocSockaddr(&sa, &alloc_len);
    90     if (sa == NULL) {
    90     if (sa == NULL) {
    91         JNU_ThrowOutOfMemoryError(env, NULL);
    91         JNU_ThrowOutOfMemoryError(env, NULL);
    92         return IOS_THROWN;
    92         return IOS_THROWN;