Pull Request: 7013: AIX: InetAddress.getByName(addr) does not work as expected
Thomas Stüfe
thomas.stuefe at gmail.com
Sat Jan 22 08:40:41 UTC 2022
Hi Micheal,
welcome, and thank you for your contribution!
I opened a bug id for you to track this:
https://bugs.openjdk.java.net/browse/JDK-8280498 . I can sponsor this patch
for you.
You need one reviewer, I think. I don't have the cycles right now to think
this through. I cc core-libs dev since this is a networking issue and one
of their tests.
Cheers, Thomas
On Thu, Jan 20, 2022 at 2:50 PM Michael Felt <aixtools at felt.demon.nl> wrote:
> 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
>
More information about the core-libs-dev
mailing list