On Mon, 15 Dec 2025 15:45:24 GMT, Matthias Baesken <[email protected]> wrote:

>> Or just  write the old message `"Protocol family unavailable" ` for this 
>> case and enhance the else case ?
>
> Looking more at the checks,  I think we can always use the exception 
> `JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", "Protocol family 
> ipv6, ipv6 on machine unavailable");`
> without the if and else. At least as long as the other if checks do not 
> change. Do you agree?

That's what I would expect. I have not double checked.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28825#discussion_r2619964759

Reply via email to