On Mon, 10 Jan 2022 15:56:07 GMT, Michael Felt <d...@openjdk.java.net> wrote:
> with IP "0.0.0.0" > > - it either does nothing and ping fails, or, in some virtual environments > is treated as the default route address. > - IPv6 support for ::1 is available since 1977; however, ::0 is not accepted > as a vaild psuedo IPv6 address. '::1' must be used instead. > > ping: bind: The socket name is not available on this system. > ping: bind: The socket name is not available on this system. > PING ::1: (::1): 56 data bytes > 64 bytes from ::1: icmp_seq=0 ttl=255 time=0.037 ms > 64 bytes from ::1: icmp_seq=1 ttl=255 time=0.045 ms > > --- ::1 ping statistics --- > 2 packets transmitted, 2 packets received, 0% packet loss > round-trip min/avg/max = 0/0/0 ms > PING ::1: (::1): 56 data bytes > 64 bytes from ::1: icmp_seq=0 ttl=255 time=0.052 ms > 64 bytes from ::1: icmp_seq=1 ttl=255 time=0.047 ms > > --- ::1 ping statistics --- > 2 packets transmitted, 2 packets received, 0% packet loss > > > A long commit message. > > This came to light because some systems failed with IPv4 (those that passed > replaced 0.0.0.0 with the default router. but most just fail - not > substituting > 0.0.0.0 with 127.0.0.1. However, InetAddress.getByName("") returns 127.0.0.1 > which compares well with other platform's behavior. Hi @aixtools, Welcome! Good job with aixtools.net, we used it quite a bit over the years :) About your patch, probably it will be ignored in this form. Some notes: - you need an official JBS issue for the toolchain to notify relevant mailing lists. I can open one for you if you can give me a short concise bug text explaining the issue. - we have a ppc/aix mailing list. It's a bit deserted, but still a good place to ask around or notify ppl of your intent to patch. https://mail.openjdk.java.net/mailman/listinfo/ppc-aix-port-dev - and of course, we need you to sign the OCA. Officially, I think IBM is now maintainer of the AIX port (they took over from us, SAP). Are you affiliated with IBM? Cheers, Thomas I opened an issue for you to track this. [JDK-8280498: [aix]: jdk/java/net/Inet4Address/PingThis.java fails ](https://bugs.openjdk.java.net/browse/JDK-8280498) Please change the title of this PR to "JDK-8280498: [aix]: jdk/java/net/Inet4Address/PingThis.java fails" to allow our bots to make the connection. ------------- PR: https://git.openjdk.java.net/jdk/pull/7013