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.

Bug 20499 - Spurious error badge on ModuleManagerTest
Summary: Spurious error badge on ModuleManagerTest
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-13 08:58 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2002-02-13 08:58:50 UTC
[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.
Comment 1 Tomas Hurka 2002-02-13 09:29:12 UTC
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 
Comment 2 Jesse Glick 2002-02-13 14:34:20 UTC
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.
Comment 3 Tomas Hurka 2002-02-13 14:47:39 UTC
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. 
Comment 4 Quality Engineering 2003-07-01 13:11:05 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-07-01 13:16:50 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.