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 IDE Dev (Build 070116) 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104 Linux version 2.6.5-1.358 running on i386 en_US (nb); UTF-8 Code folding behaviour is inconsistent. When typing {} as an empty method body (or inner class) the code fold is not shown. After adding space between the brackets the fold is created. When the space is deleted the fold is still present. After reopening file the fold is gone again.
I guess that this needs to be changed somewhere in JavaElementFoldManager to create even the empty-body folds. Reassigning to java/editor for evaluation.
seems like a good later candidate.
NetBeans.org Migration: changing resolution from LATER to WONTFIX