Hi,
org.apache.felix.framework.URLStreamHandlerProxy has following methods:
public void setURL(
URL url, String protocol, String host, int port, String authority,
String userInfo, String path, String query, String ref)
{
super.setURL(url, protocol, host, port, authority, userInfo,
path, query, ref);
}
public void setURL(
URL url, String protocol, String host, int port, String file,
String ref)
{
super.setURL(url, protocol, host, port, null, null, file, null,
ref);
}
There appears to be a *bug* in the latter method. It passes "file" as
"path." Should file not be brone into path and query components which
would have automatically happened if
super.setURL(url, protocol, host, port, file, ref) been called? Any
comments? I have not done any testing, just concluding based on code
inspection.
Thanks,
Sahoo