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

2020-08-06 Thread 傅杰
/jdk/sun/tools/jstatd/TestJstatdRmiPort.java So it's worth fixing it. Testing: - tier1-3 on Linux/x64 Thanks. Best regards, Jie From: "jiefu(傅杰)" Date: Wednesday, August 5, 2020 at 3:19 PM To: "serviceability-dev@openjdk.java.net" Subject: RFR: 8251155: HostIdentif

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

2020-08-05 Thread 傅杰
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