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.
The word "goto" in a Java source file is wrongly recognized as Java keyword by the editor and correspondingly highlighted. See for instance org/netbeans/editor/ext/java/JavaTokenContext.java ==> defines token GOTO (line 452,453): public static final BaseImageTokenID GOTO = new BaseImageTokenID("goto", GOTO_ID, KEYWORDS); NB: There is NO goto statement in Java.
"goto" is, although currently not implemented, a reserved keyword in the Java language. See The Java Language Specification, 2nd edition, ยง3.9
Resolved for 3.3.x or earlier, no new info since then -> closing.