RFR: 8305089: Implement missing socket options on AIX [v4]

Varada M duke at openjdk.org
Fri Apr 14 11:36:38 UTC 2023


On Fri, 14 Apr 2023 11:27:33 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> It is intended
>
> I'm curious, what is the rationale?
> By comparison the Linux version has: 
> 
>         handleError(env, rv, "get SO_PEERCRED failed");

On linux it is implemented from [attachListener_linux.cpp](https://github.com/openjdk/jdk/blob/master/src/hotspot/os/linux/attachListener_linux.cpp#L361) and on aix it is from [attachListener_aix.cpp](https://github.com/openjdk/jdk/blob/master/src/hotspot/os/aix/attachListener_aix.cpp#L392)
In both the cases when rv == -1 , it fails to get this socket option.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13240#discussion_r1166722914



More information about the build-dev mailing list