* Fix NullPointerException when Hessian instantiate URL with JavaDeserializer
This commit is contained in:
parent
a6d55faf75
commit
6dcd5938c3
|
|
@ -27,6 +27,10 @@ import java.util.Map;
|
|||
@Deprecated
|
||||
public class URL extends org.apache.dubbo.common.URL {
|
||||
|
||||
protected URL() {
|
||||
super();
|
||||
}
|
||||
|
||||
public URL(org.apache.dubbo.common.URL url) {
|
||||
super(url.getProtocol(), url.getUsername(), url.getPassword(), url.getHost(), url.getPort(), url.getPath(), url.getParameters());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue