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 "Multi-line string literals" (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: var str = <<EOF This is a string that contains multiple lines hello world That's all! EOF print(str) is formatted as: var str = << EOF This is a string that contains multiple lines hello world That's all! EOF print(str)
Needed to update the Nashorn parser.