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.
NetBeans gives parsing errors on the use of "Back-quote exec expressions" (cf. https://wiki.openjdk.java.net/display/Nashorn/Nashorn+extensions ) in Nashorn scripts. Moreover, because of this, it's impossible to use formatting. For example: function foo() { return 42; } `notepad`; function bar() { print(foo()); } bar(); is formatted as: function foo() { return 42; } `notepad`; function bar() { print(foo()); } bar();
The Nashorn parser needs to be updated.