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.
080618 but noticed for a while now. I know there is now some kind of special logic which checks for the case that a file is marked with an error badge yet has a clean parse, in which case the badges for the whole tree (project?) are recalculated. This does seem to work - but just once. If I have two nb.org NBM projects open (e.g. apisupport.project and projectui), both of them with spurious error markings on the Unit Test Packages nodes (for some reason this seems quite common), and I open a random test case from the first project and then close it, the badges disappear from that project immediately. But if I open a test case from the second project and close it, the badge disappears only from that node. It seems the autocorrection does not continue to work.
Perhaps IncorrectErrorBadges.invocationCount in combination with Phase.UP_TO_DATE is the problem?
More likely caused by compiler warnings in the second file: http://hg.netbeans.org/main?cmd=changeset;node=ba0522bf718a
Integrated into 'main-golden', available in NB_Trunk_Production #271 build Changeset: http://hg.netbeans.org/main/rev/ba0522bf718a User: Jan Lahoda <jlahoda@netbeans.org> Log: #137568: ignore warnings when fixing incorrect error badges.
Seems to be working better now, thanks!