You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Peter Hansson (JIRA)" <ji...@apache.org> on 2016/11/22 17:12:59 UTC

[jira] [Comment Edited] (NETBEANS-4) Elect MPL for the core.network nsProxyAutoConfig.js

    [ https://issues.apache.org/jira/browse/NETBEANS-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15687314#comment-15687314 ] 

Peter Hansson edited comment on NETBEANS-4 at 11/22/16 5:12 PM:
----------------------------------------------------------------

A bit of background:

The file in question, {{nsProxyAutoConfig.js}}, is used in the NetBeans ProxySelector for the purpose of PAC file evaluation. PAC file is a way in corporate networks for an application to figure out which proxy (if any) should be used to reach a given endpoint. The concept was pioneered by Netscape and today the method is widely used in corporate networks, in fact I've yet to work in an organization that didn't use PAC files. Any client application that wishes to use network operations (such as an NetBeans IDE, a NetBeans Platform application, an internet browser, etc) needs to download the PAC file and evaluate it. The PAC file is Javascript.

Since the introduction of Java 8 this particular part of the NetBeans ProxySelector no longer works.This is documented in [bug 245116|https://netbeans.org/bugzilla/show_bug.cgi?id=245116].

The file {{nsProxyAutoConfig.js}} really shouldn't exist in the first place as it belongs to something that doesn't work. There's an example of a fix in  [ProxySelector2 project|https://bitbucket.org/phansson/netbeansproxy2].  The fix makes the file redundant.




was (Author: phansson):
A bit of background:

The file in question, {{nsProxyAutoConfig.js}} is used in the NetBeans ProxySelector for the purpose of PAC file evaluation. PAC file is a way in corporate networks for an application to figure out which proxy (if any) should be used to reach a given endpoint. The concept was pioneered by Netscape and today the method is widely used in corporate networks, in fact I've yet to work in an organization that didn't use PAC files. Any client application that wishes to use network operations (such as an NetBeans IDE, a NetBeans Platform application, an internet browser, etc) needs to download the PAC file and evaluate it. The PAC file is Javascript.

Since the introduction of Java 8 this particular part of the NetBeans ProxySelector no longer works.This is documented in [bug 245116|https://netbeans.org/bugzilla/show_bug.cgi?id=245116].

The file {{nsProxyAutoConfig.js}} really shouldn't exist in the first place as it belongs to something that doesn't work. There's an example of a fix in  [ProxySelector2 project|https://bitbucket.org/phansson/netbeansproxy2].  The fix makes the file redundant.



> Elect MPL for the core.network nsProxyAutoConfig.js
> ---------------------------------------------------
>
>                 Key: NETBEANS-4
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4
>             Project: Netbeans
>          Issue Type: Bug
>            Reporter: Emilian Bold
>            Priority: Trivial
>              Labels: cleanup
>
> platform/core.network uses nsProxyAutoConfig.js which has a triple-license MPL 1.1, GPL v2 and greater, LGPL 2.1 and greater.
> From these NetBeans picked LGPL-2.1.
> I believe the Mozilla Public License 1.1 would be a much better pick for Apache NetBeans.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)