Community
Participate
Working Groups
If ProxySetupHelper#getProxy(String) is called with a local file uri like "file:/eclipse/I20100511-0800/plugins/org.eclipse.osgi_3.6.0.v20100512.jar" Then we end up calling ProxyManager#getProxyDataForHost with host=null and type="file". If system proxies are enabled, there is a relatively expensive call to the native proxy provider with a URI of "file://null" (The UnixProxyProvider does a runtime exec of "/bin/sh -c env | grep -i proxy") If the host is null, can't we just shortcut all of this and return no proxy? See http://pastebin.com/UUy3QBtQ for an example call stack, this becomes noticeable as a performance hit when performing p2 operations on local repositories.
Fixed in 3.7M5 *** This bug has been marked as a duplicate of bug 332728 ***