summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2006-09-08 08:59:56 +0000
committerGary Benson <gbenson@redhat.com>2006-09-08 08:59:56 +0000
commit0ae878b1c7ebd515bdd68de62adfc848e07b12d9 (patch)
tree0a8b7a6c25dd02b73995b92059f75729224162dc /include
parentea6df337f9f6bc1fefb78e5d2ebce16593e3b6e9 (diff)
downloadclasspath-0ae878b1c7ebd515bdd68de62adfc848e07b12d9.tar.gz
2006-09-08 Gary Benson <gbenson@redhat.com>
* java/net/InetAddress.java (inaddr_any): Removed. (ANY_IF, LOCALHOST): Create using getByAddress. (<init>): Updated javadoc. (getHostName): Cache hostname even if the lookup failed. (getByAddress): Create Inet4Address objects when passed IPv4-mapped IPv6 addresses. (aton): Removed. (getAllByName): Create address objects using getByAddress. Do not perform security checks unless actually required. Do not strip whitespace from the hostname. (getInaddrAny): Removed. (getLocalHost): Return the loopback address if getByName throws a SecurityException. (readResolve): Updated javadoc. * vm/reference/java/net/VMInetAddress.java (aton): Declared. * include/java_net_VMInetAddress.h (Java_java_net_VMInetAddress_aton): Likewise. * native/jni/java-net/java_net_VMInetAddress.c (Java_java_net_VMInetAddress_aton): New method. * native/jni/native-lib/cpnet.h (cpnet_aton): Declared. * native/jni/native-lib/cpnet.c (cpnet_aton): New method. * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton. * java/net/Inet4Address.java (writeReplace): Updated javadoc. * NEWS: Added note about updated VM interface.
Diffstat (limited to 'include')
-rw-r--r--include/java_net_VMInetAddress.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/java_net_VMInetAddress.h b/include/java_net_VMInetAddress.h
index 54b57f220..66f473577 100644
--- a/include/java_net_VMInetAddress.h
+++ b/include/java_net_VMInetAddress.h
@@ -14,6 +14,7 @@ JNIEXPORT jstring JNICALL Java_java_net_VMInetAddress_getLocalHostname (JNIEnv *
JNIEXPORT jbyteArray JNICALL Java_java_net_VMInetAddress_lookupInaddrAny (JNIEnv *env, jclass);
JNIEXPORT jstring JNICALL Java_java_net_VMInetAddress_getHostByAddr (JNIEnv *env, jclass, jbyteArray);
JNIEXPORT jobjectArray JNICALL Java_java_net_VMInetAddress_getHostByName (JNIEnv *env, jclass, jstring);
+JNIEXPORT jbyteArray JNICALL Java_java_net_VMInetAddress_aton (JNIEnv *env, jclass, jstring);
#ifdef __cplusplus
}