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 - isInNet function is broken in auto-proxy configuration scripts under Java 8
Summary: isInNet function is broken in auto-proxy configuration scripts under Java 8
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Proxy (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-28 07:04 UTC by dragor
Modified: 2015-09-28 07:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.