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.
[dev feb 12] Create a fresh build -Dmodules=java. Run with a fresh userdir. Mount nb_all/core/test/unit/src as a plain filesystem. Browse in the Explorer under org/netbeans/core/modules/. ModuleManagerTest (CVS: 1.11; compiled) appears with a red error badge and the tooltip "Errors during parsing". But the file is perfectly compilable, has the correct package statement, and has no errors in it that I know of. Expanding the node shows the correct parse structure, so whatever error it was is apparently not fatal. Other similar classes such as ModuleListTest do not get an error badge. ide.log shows nothing.
The red error badge is caused by assert method on lines 71,72,73. The internal parser for NB 3.4 is based in Javac 1.4. So I guess the behavior is correct. Presentation of the parsing error is not good, but it will be enhanced in 3.4. See issue #17518
Interesting. Is there any way to turn off the 1.4 source feature on the internal parser? After all, considered as 1.3 source, the file is well-formed.
Unfortunately no. There is no Parser setting, where should be proper place to do it. Maybe it can be added to the Java Sources setting.
Resolved for 3.4.x or earlier, no new info since then -> closing.