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.

Bug 255598

Summary: isInNet function is broken in auto-proxy configuration scripts under Java 8
Product: platform Reporter: dragor
Component: ProxyAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description dragor 2015-09-28 07:04:34 UTC
The core.network/external/nsProxyAutoConfig.js isInNet function is broken under Java8.
In Java8 the embedded script engine is no longer support shortened regexp matching: /^something$/(anything) so it needs to be changed to /^something$/.exec(anything) or the whole configuration script handling can be rewritten in pure java to evade bugs like this.