Pull Request: 7013: AIX: InetAddress.getByName(addr) does not work as expected
Michael Felt
aixtools at felt.demon.nl
Thu Jan 20 13:49:46 UTC 2022
Hello all,
This is a test that fails in some environments - enough so that has been
added to the ignore-list at AdoptOpenJDK (now Adoptium). And it will
stay there until it gets fixed upstream.
I researched this and came up with differences that are behave
differently depending on the environment, e.g., my server, and
partitions hosted at IBM garage respond - at CLI -
```
aixtools at x064:[/data/prj/aixtools/tests]ping 0.0.0.0
PING 0.0.0.0: (0.0.0.0): 56 data bytes
--- 0.0.0.0 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
```
While at OSUOSL environment:
```
aixtools at nim.bak:[/home/aixtools]ping 0.0.0.0
PING 0.0.0.0: (0.0.0.0): 56 data bytes
64 bytes from 140.211.9.1: icmp_seq=0 ttl=255 time=0 ms
64 bytes from 140.211.9.1: icmp_seq=1 ttl=255 time=0 ms
64 bytes from 140.211.9.1: icmp_seq=2 ttl=255 time=0 ms
--- 0.0.0.0 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms
```
The patch is to make this test work in both environments - without any
need to change the `java.net.InetAddress` or
`java.net.Inet6Address` definitions.
Regards,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20220120/61efb1d2/attachment.htm>
More information about the ppc-aix-port-dev
mailing list