RFR: 8373676: Test javax/net/ssl/HttpsURLConnection/SubjectAltNameIP.java fails on a machine without IPV6
Daniel Fuchs
dfuchs at openjdk.org
Mon Dec 15 15:53:13 UTC 2025
On Mon, 15 Dec 2025 15:45:24 GMT, Matthias Baesken <mbaesken at openjdk.org> 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
More information about the net-dev
mailing list