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.
Sanitization does not work well for unfinished statements like "if(something.^)" or safe dereference operator "something?.^"
Also see: https://netbeans.org/bugzilla/show_bug.cgi?id=235175#c5