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.
class foo { } When you press the Enter button when the caret is right after the opening brace, it causes the following result: class foo { } }
It's a known issue, happens when there is no other statement before "}"