[JDK-8257080] Java does not try all DNS results when opening a socket
Aleks Efimov
aleksej.efimov at oracle.com
Wed Dec 16 16:53:02 UTC 2020
Hi Benjamin,
As Alan stated I'm working on adding an SPI [1] which will provide a
possibility to alter how host names and IP addresses are resolved by JDK
platform.
I believe it would be possible to use this mechanism for addressing
issue described in JDK-8257080.
Best Regards,
Aleksei
[1] WIP jdk-sandbox branch:
https://github.com/openjdk/jdk-sandbox/tree/JDK-8244202-nspi-stream-branch
On 16/12/2020 15:42, Alan Bateman wrote:
> On 16/12/2020 15:21, Benjamin Marwell wrote:
>> https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8192780
>>
>> Granted, it is an SPI. But it seemed to have been used.
>>
>
> Aleksej Efimov is working on an InetAddress SPI, I'm sure there will
> be a draft JEP at some point. It has the potential to complement the
> exploration that we discussing here.
>
> -Alan
More information about the net-dev
mailing list