equal
deleted
inserted
replaced
720 |
720 |
721 public static boolean isUnixDomainSupported() { |
721 public static boolean isUnixDomainSupported() { |
722 return unixDomainSupported; |
722 return unixDomainSupported; |
723 } |
723 } |
724 |
724 |
725 private static UnixDomainSocketAddress UNNAMED = new UnixDomainSocketAddress(""); |
725 public static final UnixDomainSocketAddress UNNAMED = new UnixDomainSocketAddress(""); |
726 |
726 |
727 static UnixDomainSocketAddress getRevealedLocalAddress(UnixDomainSocketAddress addr) { |
727 static UnixDomainSocketAddress getRevealedLocalAddress(UnixDomainSocketAddress addr) { |
728 SecurityManager sm = System.getSecurityManager(); |
728 SecurityManager sm = System.getSecurityManager(); |
729 if (addr == null || sm == null) |
729 if (addr == null || sm == null) |
730 return addr; |
730 return addr; |