On Sun, 17 Sep 2023 23:21:23 GMT, Mark Sheppard <[email protected]> wrote:

> on further reflection, wrt method name, an overloaded getByAddress(String 
> literalAddress) method is most appropriate

I agree, and it should have both variants, getByAddtess(String literalSddress) 
throes UHE
GetByAdress(String hostname, String, literalSdddress) throws UHE


In order to produce resolved addresses as well. 

(The UHE is a bit strange but the preexisting method used it for a reason for 
invalid address arrays, I guess)

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15775#issuecomment-1722599828

Reply via email to