Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8278680 | 19 | Aleksej Efimov | P3 | Resolved | Fixed | team |
From the spec : InetAddressResolverProvider::get(InetAddressResolverProvider.Configuration configuration)
"Any error or exception thrown by this method is considered as a failure of InetAddressResolver instantiation and will be propagated to the calling thread."
Need a clarification regarding the phrase "propagated to the calling thread."
Technically, the invocation of the InetAddressResolverProvider::get() done by the JDK implementation as a result of application/test invoking one of the methods resulting in lookup operations.
Is it right expectation that "The application/test" receives the exception or error thrown by the InetAddressResolverProvider::get() ?
OR
Is There is a possibility that JDK implementation interpret "the exception or error thrown by the InetAddressResolverProvider::get()" and returns OR throws something as stated by the respective look up operation methods?
Currently the spec looks ambiguous in this context.
"Any error or exception thrown by this method is considered as a failure of InetAddressResolver instantiation and will be propagated to the calling thread."
Need a clarification regarding the phrase "propagated to the calling thread."
Technically, the invocation of the InetAddressResolverProvider::get() done by the JDK implementation as a result of application/test invoking one of the methods resulting in lookup operations.
Is it right expectation that "The application/test" receives the exception or error thrown by the InetAddressResolverProvider::get() ?
OR
Is There is a possibility that JDK implementation interpret "the exception or error thrown by the InetAddressResolverProvider::get()" and returns OR throws something as stated by the respective look up operation methods?
Currently the spec looks ambiguous in this context.
- backported by
-
JDK-8278680 Spec for InetAddressResolverProvider::get() throwing error or exception could be clearer
-
- Resolved
-
- relates to
-
JDK-8263693 JEP 418: Internet-Address Resolution SPI
-
- Closed
-