Re: AW: JDK-8170910: Avoid 5 second localhost lookup behavior on OSX

2019-04-11 Thread Nora Howard
> > One question is if this is a common network configuration, or is there > some other way to cause it to happen? > It's common enough that when I looked up "lookupAllHostAddr OSX", there's a fair number of blog posts and stackoverflow posts about the issue that point to the /etc/hosts workaroun

Re: AW: JDK-8170910: Avoid 5 second localhost lookup behavior on OSX

2019-04-11 Thread Michael McMahon
On 10/04/2019, 22:03, Bernd Eckenfels wrote: Maybe instead of having a MacOS specific algorithm it would be a good idea to have getLocalHostName generally look up the hostnames from the Array with a trailing „.“ and only if that Fails have it search with search Suffix? Interesting idea.