/openjdk7/jdk/test/sun/net/InetAddress/nameservice/deadlock/ |
H A D | Hang.java | 30 * @summary InetAddress lookupTable leaks/deadlocks when using unsupported 34 import java.net.InetAddress; 40 InetAddress.getByName("host.company.com"); 44 InetAddress.getByName("host.company.com");
|
H A D | ThrowingNameService.java | 24 import java.net.InetAddress; 32 public InetAddress[] lookupAllHostAddr(String host) throws UnknownHostException { 40 return new InetAddress[] { InetAddress.getLoopbackAddress() };
|
/openjdk7/jdk/test/java/net/Inet6Address/ |
H A D | IPv6Numeric.java | 27 * @summary REGRESSION: InetAddress.getByName(":") throws ArrayIndexOutOfBoundsException 31 import java.net.InetAddress; 36 InetAddress addr = InetAddress.getByName(":");
|
H A D | IPv6AddressTypes.java | 43 InetAddress ia = InetAddress.getByName(goodlinklocal[i]); 51 InetAddress ia = InetAddress.getByName(badlinklocal[i]); 57 InetAddress ia = InetAddress.getByName(goodsitelocal[i]); 63 InetAddress ia = InetAddress.getByName(badsitelocal[i]);
|
/openjdk7/jdk/test/java/net/InetAddress/ |
H A D | GetLoopbackAddress.java | 27 * @summary InetAddress needs a getLoopbackAddress 33 static InetAddress IPv4Loopback; 34 static InetAddress IPv6Loopback; 38 IPv4Loopback = InetAddress.getByAddress( 41 IPv6Loopback = InetAddress.getByAddress( 49 InetAddress addr = InetAddress.getLoopbackAddress(); 55 InetAddress addr2 = InetAddress.getLoopbackAddress(); 59 " should return a reference to the same InetAddress loopbac [all...] |
H A D | BadDottedIPAddress.java | 28 * @summary Check that InetAddress.getByName() throws UHE with dotted 32 import java.net.InetAddress; 43 InetAddress ia = InetAddress.getByName(host); 56 InetAddress ia = InetAddress.getByName(host); 70 InetAddress ia = InetAddress.getByName(host); 84 InetAddress ia = InetAddress [all...] |
H A D | B5087907.java | 27 * @summary InetAddress.getAllByName does not obey setting of java.net.preferIPv6Addresses 38 InetAddress lh = null; 39 InetAddress addrs[] = null; 41 lh = InetAddress.getByName("localhost"); 42 addrs = InetAddress.getAllByName("localhost"); 50 for (InetAddress addr: addrs) { 67 for (InetAddress addr: addrs) {
|
H A D | IsReachable.java | 29 import java.net.InetAddress; 35 InetAddress addr = InetAddress.getByName("localhost");
|
/openjdk7/jdk/src/share/classes/sun/management/snmp/jvminstr/ |
H A D | NotificationTarget.java | 27 import java.net.InetAddress; 33 public InetAddress getAddress();
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | InetAddressImpl.java | 30 * {@link InetAddress}. 40 InetAddress[] 44 InetAddress anyLocalAddress(); 45 InetAddress loopbackAddress(); 46 boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif,
|
H A D | Inet4AddressImpl.java | 35 public native InetAddress[] 40 public synchronized InetAddress anyLocalAddress() { 48 public synchronized InetAddress loopbackAddress() { 56 public boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, int ttl) throws IOException { 63 InetAddress inetaddr = null; 66 inetaddr = (InetAddress) it.nextElement(); 72 private InetAddress anyLocalAddress; 73 private InetAddress loopbackAddress;
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/ |
H A D | InetAddressAcl.java | 30 import java.net.InetAddress; 57 public boolean checkReadPermission(InetAddress address); 67 public boolean checkReadPermission(InetAddress address, String community); 85 public boolean checkWritePermission(InetAddress address); 95 public boolean checkWritePermission(InetAddress address, String community); 100 * @return An enumeration of the trap destinations (enumeration of <CODE>InetAddress</CODE>). 111 public Enumeration getTrapCommunities(InetAddress address); 116 * @return An enumeration of the inform destinations (enumeration of <CODE>InetAddress</CODE>). 127 public Enumeration getInformCommunities(InetAddress address);
|
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | MembershipKey.java | 28 import java.net.InetAddress; 125 public abstract MembershipKey block(InetAddress source) throws IOException; 129 * previously blocked using the {@link #block(InetAddress) block} method. 140 public abstract MembershipKey unblock(InetAddress source); 158 public abstract InetAddress group(); 176 public abstract InetAddress sourceAddress();
|
H A D | MulticastChannel.java | 28 import java.net.InetAddress; 54 * <p> The {@link #join(InetAddress,NetworkInterface)} method is used to 63 * <p> The {@link #join(InetAddress,NetworkInterface,InetAddress)} method 92 * InetAddress#isAnyLocalAddress wildcard} address. If the socket is bound to 114 * InetAddress group = InetAddress.getByName("225.4.5.6"); 163 * If the group parameter is not a {@link InetAddress#isMulticastAddress 177 * {@link SecurityManager#checkMulticast(InetAddress) checkMulticast} 180 MembershipKey join(InetAddress grou [all...] |
/openjdk7/jdk/test/java/net/InetAddress/ptr/ |
H A D | Lookup.java | 30 import java.net.InetAddress; 39 InetAddress ia = InetAddress.getByName(args[1]); 52 InetAddress ia = InetAddress.getByName(args[1]);
|
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/ |
H A D | NetworkConfiguration.java | 34 private Map<NetworkInterface,List<InetAddress>> ip4Interfaces; 35 private Map<NetworkInterface,List<InetAddress>> ip6Interfaces; 37 private NetworkConfiguration(Map<NetworkInterface,List<InetAddress>> ip4Interfaces, 38 Map<NetworkInterface,List<InetAddress>> ip6Interfaces) 52 Iterable<InetAddress> ip4Addresses(NetworkInterface nif) { 56 Iterable<InetAddress> ip6Addresses(NetworkInterface nif) { 61 Map<NetworkInterface,List<InetAddress>> ip4Interfaces = 62 new HashMap<NetworkInterface,List<InetAddress>>(); 63 Map<NetworkInterface,List<InetAddress>> ip6Interfaces = 64 new HashMap<NetworkInterface,List<InetAddress>>(); [all...] |
/openjdk7/jdk/src/windows/classes/sun/net/ |
H A D | NetHooks.java | 27 import java.net.InetAddress; 42 InetAddress address, 53 InetAddress address,
|
/openjdk7/jdk/test/java/net/MulticastSocket/ |
H A D | B6427403.java | 37 InetAddress lh = InetAddress.getLocalHost(); 39 ms.joinGroup( InetAddress.getByName("224.80.80.80") );
|
/openjdk7/jdk/test/sun/net/InetAddress/nameservice/dns/ |
H A D | Lookup.java | 24 import java.net.InetAddress; 27 * Lookup a host using InetAddress.getAllByName 33 InetAddress addrs[] = InetAddress.getAllByName(args[0]);
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/ |
H A D | PrincipalImpl.java | 31 import java.net.InetAddress; 44 private InetAddress[] add = null; 50 add = new InetAddress[1]; 51 add[0] = java.net.InetAddress.getLocalHost(); 67 add = new InetAddress[1]; 68 add[0] = java.net.InetAddress.getByName(hostName); 71 add = java.net.InetAddress.getAllByName( hostName ); 79 public PrincipalImpl(InetAddress address) { 80 add = new InetAddress[1]; 136 public InetAddress getAddres [all...] |
/openjdk7/jdk/test/sun/security/krb5/auto/ |
H A D | IgnoreChannelBinding.java | 31 import java.net.InetAddress; 54 InetAddress.getByName("client.rabbit.hole"), 55 InetAddress.getByName("host.rabbit.hole"), 64 InetAddress.getByName("client.rabbit.hole"), 65 InetAddress.getByName("host.rabbit.hole"), 70 InetAddress.getByName("client.rabbit.hole"), 71 InetAddress.getByName("host.rabbit.hole"), 79 InetAddress.getByName("client.rabbit.hole"), 80 InetAddress.getByName("host.rabbit.hole"), 85 InetAddress [all...] |
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | OpenLeak.java | 32 import java.net.InetAddress; 39 InetAddress lh = InetAddress.getLocalHost();
|
/openjdk7/jdk/src/share/classes/javax/net/ |
H A D | SocketFactory.java | 30 import java.net.InetAddress; 184 * @see java.net.Socket#Socket(String, int, java.net.InetAddress, int) 187 createSocket(String host, int port, InetAddress localHost, int localPort) 211 * @see java.net.Socket#Socket(java.net.InetAddress, int) 213 public abstract Socket createSocket(InetAddress host, int port) 240 * @see java.net.Socket#Socket(java.net.InetAddress, int, 241 * java.net.InetAddress, int) 244 createSocket(InetAddress address, int port, 245 InetAddress localAddress, int localPort) 274 public Socket createSocket(InetAddress addres [all...] |
/openjdk7/jdk/test/sun/net/InetAddress/nameservice/simple/ |
H A D | CacheTest.java | 26 * @summary Check that InetAddress doesn't continue to throw UHE 33 import java.net.InetAddress; 65 * 1. Do a lookup via InetAddress.getByName that it guaranteed 69 * 2. Do a lookup via InetAddress.getByName that is guarnateed 83 InetAddress.getByName("theclub"); 89 InetAddress.getByName("luster"); 101 InetAddress.getByName("luster");
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | MembershipKeyImpl.java | 29 import java.net.InetAddress; 42 private final InetAddress group; 44 private final InetAddress source; 53 private HashSet<InetAddress> blockedSet; 56 InetAddress group, 58 InetAddress source) 75 InetAddress group, 77 InetAddress source, 110 InetAddress group, 112 InetAddress sourc [all...] |