jdk/src/share/native/java/net/net_util.c
changeset 22597 7515a991bb37
parent 20839 a3fd5c769680
child 22646 5fa3669fd35d
equal deleted inserted replaced
22596:62542b8be764 22597:7515a991bb37
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    65        Since we have initialized and loaded the Socket library we will
    65        Since we have initialized and loaded the Socket library we will
    66        check now to whether we have IPv6 on this platform and if the
    66        check now to whether we have IPv6 on this platform and if the
    67        supporting socket APIs are available
    67        supporting socket APIs are available
    68     */
    68     */
    69     IPv6_available = IPv6_supported() & (!preferIPv4Stack);
    69     IPv6_available = IPv6_supported() & (!preferIPv4Stack);
    70     initLocalAddrTable ();
    70     platformInit();
    71     parseExclusiveBindProperty(env);
    71     parseExclusiveBindProperty(env);
    72 
    72 
    73     return JNI_VERSION_1_2;
    73     return JNI_VERSION_1_2;
    74 }
    74 }
    75 
    75