RFR: JDK-8319382: com/sun/jdi/JdwpAllowTest.java shows failures on AIX if prefixLen of mask is larger than 32 in IPv6 case
Alex Menkov
amenkov at openjdk.org
Tue Dec 12 01:06:29 UTC 2023
On Mon, 11 Dec 2023 14:38:08 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> A colleague contacted IBM about the different behavior of getaddrinfo on AIX (compared to Linux/macOS); maybe we have to adjust the result of the getaddrinfo call on AIX.
>
>> A colleague contacted IBM about the different behavior of getaddrinfo on AIX (compared to Linux/macOS); maybe we have to adjust the result of the getaddrinfo call on AIX.
>
> Haven't heard from them so far, hopefully we get an update soon about the behavior of getaddrinfo on AIX .
@MBaesken Just a thought: parseAllowedAddr() needs to parse only numeric addresses. getaddrinfo was used to handle both IPv4 and IPv6 by a single call, but maybe it would be better to reimplement parseAllowedAddr to do 2 inet_pton calls (for AF_INET and AF_INET6)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16561#issuecomment-1851139320
More information about the serviceability-dev
mailing list