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.
Creating an empty javascript file and the inserting the following three simple lines: if (false) { return; } gives two syntax errors on the editor: - on the second line it says "invalid return statement" - on the third line it says "expected EOF but found }" I'm using netbeans 8.0RC1 with jdk 8b129
*** This bug has been marked as a duplicate of bug 226948 ***