Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
@@ -84,4 +84,14 @@ class VMInetAddress implements Serializable
|
||||
*/
|
||||
public static native byte[][] getHostByName(String hostname)
|
||||
throws UnknownHostException;
|
||||
|
||||
/**
|
||||
* Return the IP address represented by a literal address.
|
||||
* Will return null if the literal address is not valid.
|
||||
*
|
||||
* @param address the name of the host
|
||||
*
|
||||
* @return The IP address as a byte array
|
||||
*/
|
||||
public static native byte[] aton(String address);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user