On Fri, 14 Apr 2023 11:27:33 GMT, Daniel Fuchs <dfu...@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

Reply via email to