8225499: InetSocketAddress::toString not friendly to IPv6 literal addresses
Summary: Enclose IPv6 literal in brackets and adjust string format for unresolved addresses
Reviewed-by: dfuchs, chegar
-D flag positive test:
functionality test PASSED
-D flag negative test:
functionality test PASSED