RFR: 8275319 java.net.NetworkInterface throws java.lang.Error instead of SocketException

Alan Bateman alanb at openjdk.java.net
Fri Oct 15 11:42:52 UTC 2021


On Fri, 15 Oct 2021 11:22:23 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> It happens occasionally, as evidenced by JDK-8217298, JDK-8046500 (fixed), JDK-8165665, JDK-8066931, JDK-8057900, JDK-8065559(closed), JDK-8040229, JDK-8065078(fixed), JDK-8068597(fixed), numerous reports on Google (search for "error IP Helper Library"), and an ancient note found in my company's codebase, possibly no longer relevant.

There was churn in the Windows APIs and some of these issues may be historical. I think it would be useful if we can find any recent reports of issues and try to identify if they are issues in specific environments/configurations, JDK issues (not handling some cases), or something else. I'd prefer not rush in and change all these exceptions without going through them one by one.

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

PR: https://git.openjdk.java.net/jdk/pull/5956


More information about the net-dev mailing list