This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Follow system proxy settings in changing environment, not only at startup | ||
---|---|---|---|
Product: | platform | Reporter: | reinouts <reinouts> |
Component: | -- Other -- | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esmithbss, jglick, jrechtacek, lfischmeistr |
Priority: | P3 | Keywords: | API, API_REVIEW_FAST |
Version: | 7.0.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 207559 | ||
Bug Blocks: | |||
Attachments: | proposed impl of #201731 |
Description
reinouts
2011-09-07 09:38:39 UTC
The current approach is to determine proxy settings in the native launcher and pass them to the NB Java process as system properties. Making NB respond correctly to system proxy changes would require having the Java process directly read, and listen to changes in, these native APIs - probably using JNA. Not sure if it is worth the trouble, but would be nice to not need to restart the IDE when going on or off VPN, etc. Please review the proposed patch which introduces a new possibility to reload network proxy settings from system anytime in running IDE. In short the related apichanges: * drop of reading proxy settings from native launcher of IDE * reading proxy settings via JNA libs * if the JNA lib is not a part of distribution then fallback to the standard Java Proxy Selector (it could be changed by someone else as before can) * added a new module core.network containing the most of that implementation, it's a friend on o.n.core module * added new UI in Tools|Options|General to allow reload the proxies The whole implementation in the following attachment. Thanks Created attachment 133080 [details]
proposed impl of #201731
Thanks for review even if there were no objections. Changes merged from system_proxy_reload branch to trunk in changeset: http://hg.netbeans.org/core-main/rev/067996975b47 *** Bug 148534 has been marked as a duplicate of this bug. *** |