< prev index next >

src/java.base/share/classes/sun/nio/ch/Net.java

Print this page

        

*** 55,64 **** --- 55,69 ---- public class Net { private Net() { } + static { + // Load all required native libs + UnixDomainNet.init(); + } + // unspecified protocol family static final ProtocolFamily UNSPEC = new ProtocolFamily() { public String name() { return "UNSPEC"; }
*** 497,506 **** --- 502,512 ---- private static native boolean isReusePortAvailable0(); /* * Returns 1 for Windows and -1 for Linux/Mac OS */ + private static native int isExclusiveBindAvailable(); private static native boolean shouldSetBothIPv4AndIPv6Options0(); private static native boolean canIPv6SocketJoinIPv4Group0();
< prev index next >