[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR: JDK-8319382: com/sun/jdi/JdwpAllowTest.java shows failures on AIX if prefixLen of mask is l
From:       Matthias Baesken <mbaesken () openjdk ! org>
Date:       2023-12-20 8:05:45
Message-ID: XcRjFn83tta4yxeyEPSJwhBMtW81WhvsJtSvpx2_QzY=.82c4cf21-bb29-4f78-895f-f83a995a956e () github ! com
[Download RAW message or body]

On Mon, 11 Dec 2023 14:38:08 GMT, Matthias Baesken <mbaesken@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)

Hi Alex, this seems to work  (for AIX, and also for the other OpenJDK platforms) .

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16561#issuecomment-1864029003


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic