hadesvip opened a new issue #9167: URL: https://github.com/apache/dubbo/issues/9167
### Environment * Dubbo version: 3.0.2.1 * Operating System version: win10 * Java version: openjdk 14 ### Steps to reproduce this issue 1. 在openjdk14 版本上运行dubbo时候启动报错,提示如下  2. 调试源码发现,openjdk14 修改了InetSocketAddress的toString方法,修改源码如下  3. 调用InetSocketAddress.toString()获取IP地址的时候导致返回了“127.0.0.1/<unresolved>:2181”,获取IP地址触发了UnknownHostException运行时异常返回了默认的值  4. 后续对ip地址进行校验的时候,SocketAddress中的addr并没有设置值,直接触发了UnresolvedAddressException异常  Pls. provide [GitHub address] to reproduce this issue. https://github.com/hadesvip/dubbo-samples/blob/master/dubbo-samples-echo/src/main/java/org/apache/dubbo/samples/echo/EchoProvider.java -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
