RFR: 8277628: Spec for InetAddressResolverProvider::get() throwing error or exception could be clearer
Alan Bateman
alanb at openjdk.java.net
Mon Dec 6 16:23:18 UTC 2021
On Mon, 6 Dec 2021 15:55:52 GMT, Aleksei Efimov <aefimov at openjdk.org> wrote:
> The following fix clarifies spec for `InetAddressResolverProvider.get(Configuration)` method to state that an error or exception thrown by this method will be propagated to to the caller of the method that triggered the lookup operation.
>
> The `InetAddressResolverProvider#system-wide-resolver` class-level javadoc section has been updated to state the same.
The updated wording looks okay, I agree with the submitter that "calling thread" was a bit confusing.
-------------
Marked as reviewed by alanb (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6725
More information about the net-dev
mailing list