RFR: 8251155: HostIdentifier fails to canonicalize hostnames starting with digits

jiefu(傅杰) jiefu at tencent.com
Wed Aug 5 07:18:00 UTC 2020


Hi all,

JBS:    https://bugs.openjdk.java.net/browse/JDK-8251155
Webrev: http://cr.openjdk.java.net/~jiefu/8251155/webrev.00/

HostIdentifier fails to canonicalize hostname:port if the hostname starts with digits.
The current implementation will get "scheme = hostname".
But the scheme should not be started with digits, which leads to this bug.

Thanks a lot.
Best regards,
Jie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20200805/fdfc69fd/attachment.htm>


More information about the serviceability-dev mailing list