qualified host parameter for UnknownHostException? (was: hg: jdk8/tl/jdk: 8028074: InetAddress.getByName fails with UHE "invalid IPv6 address" if host name starts with a-f)
Bernd Eckenfels
bernd-2013 at eckenfels.net
Fri Nov 8 21:34:41 UTC 2013
Hello,
BTW: it would be good if UHE had a data member of the not-found host
value. Actually the javadoc hints in that direction:
# public UnknownHostException(String host)
#
# Parameters:
# host - the detail message.
which is quite confusing. Maybe a new constructor like UHE(String cause,
String host, String osError) would be really usefull?
Gruss
Bernd
--
http://bernd.eckenfels.net
More information about the security-dev
mailing list