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.
I would like to use "Use System Proxy". However "Use System Proxy" does not generally work for me because it reads system proxy settings only when the IDE is launched, and I often go on and off SWAN while the IDE is running. That is why I generally prefer to explicitly control the proxy state in Options | System Settings (formerly available also in the Setup Wizard). (Unfortunately this does not seem to affect cvslite.) Ideally under Gnome the IDE would consult "/usr/bin/gconftool-2 --get /system/proxy/mode" every time it needed to know the proxy setting, but Java does not support this for all usages (only has a system property, no callback). Maybe we could use some trick like we use for the system clipboard and file refreshes: when the main window gets focus, recheck the OS proxy settings and possibly update the system property. Won't work for Windows users however, since nbexec.exe uses native code to find this info, but could at least be fixed for Gnome users.
Isn't it conneted with issue 62798?
I don't see any connection to issue #62798.
I'm not in favor of solutions that will work on some platforms under some circumstances only. While this feature might be potentially implementable under Gnome, there's currently no way to implement it on Windows (unless we want to implement a JNI bridge that would repeatedly consult Windows registry) and other platforms. It would be a nice ENHANCEMENT, but I'm seriously thinking about closing it as WONTFIX.
Jirka this is yours, isn't it ?
Is default ProxySelector in JDK capable to reflect proxy changes? I am afraid it will have the same problem.
Is there any news about this bug report? How about checking for system proxy every time it is required instead of caching its value?
*** This bug has been marked as a duplicate of bug 201731 ***