changeset 58572:439a44cd1ee8

8129841: Update comment for Java_java_net_Inet6AddressImpl_getHostByAddr Summary: Update comment for Java_java_net_Inet6AddressImpl_getHostByAddr Reviewed-by: vtewari, alanb Contributed-by: vipinmv1@in.ibm.com
author vtewari
date Fri, 27 Mar 2020 11:34:45 +0530
parents f2458462c298
children 55b8fc5c9052
files src/java.base/unix/native/libnet/Inet4AddressImpl.c src/java.base/unix/native/libnet/Inet6AddressImpl.c src/java.base/windows/native/libnet/Inet4AddressImpl.c src/java.base/windows/native/libnet/Inet6AddressImpl.c
diffstat 4 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/unix/native/libnet/Inet4AddressImpl.c	Thu Mar 26 20:36:56 2020 -0700
+++ b/src/java.base/unix/native/libnet/Inet4AddressImpl.c	Fri Mar 27 11:34:45 2020 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -218,7 +218,7 @@
 /*
  * Class:     java_net_Inet4AddressImpl
  * Method:    getHostByAddr
- * Signature: (I)Ljava/lang/String;
+ * Signature: ([B)Ljava/lang/String;
  *
  * Theoretically the UnknownHostException could be enriched with gai error
  * information. But as it is silently ignored anyway, there's no need for this.
--- a/src/java.base/unix/native/libnet/Inet6AddressImpl.c	Thu Mar 26 20:36:56 2020 -0700
+++ b/src/java.base/unix/native/libnet/Inet6AddressImpl.c	Fri Mar 27 11:34:45 2020 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -413,7 +413,7 @@
 /*
  * Class:     java_net_Inet6AddressImpl
  * Method:    getHostByAddr
- * Signature: (I)Ljava/lang/String;
+ * Signature: ([B)Ljava/lang/String;
  *
  * Theoretically the UnknownHostException could be enriched with gai error
  * information. But as it is silently ignored anyway, there's no need for this.
@@ -668,7 +668,7 @@
 /*
  * Class:     java_net_Inet6AddressImpl
  * Method:    isReachable0
- * Signature: ([bII[bI)Z
+ * Signature: ([BII[BII)Z
  */
 JNIEXPORT jboolean JNICALL
 Java_java_net_Inet6AddressImpl_isReachable0(JNIEnv *env, jobject this,
--- a/src/java.base/windows/native/libnet/Inet4AddressImpl.c	Thu Mar 26 20:36:56 2020 -0700
+++ b/src/java.base/windows/native/libnet/Inet4AddressImpl.c	Fri Mar 27 11:34:45 2020 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -171,7 +171,7 @@
 /*
  * Class:     java_net_Inet4AddressImpl
  * Method:    getHostByAddr
- * Signature: (I)Ljava/lang/String;
+ * Signature: ([B)Ljava/lang/String;
  *
  * Theoretically the UnknownHostException could be enriched with gai error
  * information. But as it is silently ignored anyway, there's no need for this.
--- a/src/java.base/windows/native/libnet/Inet6AddressImpl.c	Thu Mar 26 20:36:56 2020 -0700
+++ b/src/java.base/windows/native/libnet/Inet6AddressImpl.c	Fri Mar 27 11:34:45 2020 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -240,7 +240,7 @@
 /*
  * Class:     java_net_Inet6AddressImpl
  * Method:    getHostByAddr
- * Signature: (I)Ljava/lang/String;
+ * Signature: ([B)Ljava/lang/String;
  *
  * Theoretically the UnknownHostException could be enriched with gai error
  * information. But as it is silently ignored anyway, there's no need for this.
@@ -435,7 +435,7 @@
 /*
  * Class:     java_net_Inet6AddressImpl
  * Method:    isReachable0
- * Signature: ([bII[bI)Z
+ * Signature: ([BII[BII)Z
  */
 JNIEXPORT jboolean JNICALL
 Java_java_net_Inet6AddressImpl_isReachable0(JNIEnv *env, jobject this,