Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 309313

Summary: [proxy] setting non proxy host does not reset the system properties
Product: [Eclipse Project] Platform Reporter: Pascal Rapicault <pascal>
Component: TeamAssignee: Pawel Pogorzelski <pawel.pogorzelski1>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pawel.pogorzelski1
Version: 3.6   
Target Milestone: 3.6 M7   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch none

Description Pascal Rapicault CLA 2010-04-15 10:11:40 EDT
Created attachment 164972 [details]
patch

3.6 and before
The proxy manager maintains the various system properties from java (http.proxyHost) in sync with what the user inputs in the IProxyService. This is great.
However I just found that the same logic is only partially implemented for the non-proxy host. In fact the non proxy host system property is only set once and never reset upon call of the IProxyService#setNonProxiedHost() which means that usage of the JRE http client will not behave accordingly to the setting that are stored in the IProxyService.

Here is a simple patch that fixes this issue.
Comment 1 Pawel Pogorzelski CLA 2010-04-15 11:08:17 EDT
Patch in HEAD. Marking as FIXED. Thanks Pascal.