Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8277628: Spec for InetAddressResolverProvider::get() throwing error o…
…r exception could be clearer

Reviewed-by: alanb, dfuchs
  • Loading branch information
AlekseiEfimov committed Dec 7, 2021
1 parent bb50b92 commit c609b5d
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -66,7 +66,8 @@
*
* <p> If instantiating a custom resolver from a provider discovered in
* step 1 throws an error or exception, the system-wide resolver will not be
* set and the error or exception will be propagated to the calling thread.
* set and the error or exception will be propagated to the caller of the method
* that triggered the lookup operation.
* Otherwise, any lookup operation will be performed using the
* <i>system-wide resolver</i>.
*
Expand All @@ -85,7 +86,7 @@ public abstract class InetAddressResolverProvider {
*
* <p> Any error or exception thrown by this method is considered as
* a failure of {@code InetAddressResolver} instantiation and will be propagated to
* the calling thread.
* the caller of the method that triggered the lookup operation.
* @param configuration a {@link Configuration} instance containing platform built-in address
* resolution configuration.
* @return the resolver provided by this provider
Expand Down

1 comment on commit c609b5d

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.