提交 b7aaed38 编写于 作者: M msheppar

8161228: URL objects with custom protocol handlers have port changed after deserializing

Reviewed-by: chegar, rriggs, coffeys
上级 702614ef
......@@ -1364,9 +1364,6 @@ public final class URL implements java.io.Serializable {
path = file;
}
if (port == -1) {
port = 0;
}
// Set the object fields.
this.protocol = protocol;
this.host = host;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册