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 72666 - [MarkOccurrences] Incorrect return statements highlighted
Summary: [MarkOccurrences] Incorrect return statements highlighted
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ sandipchitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-14 19:22 UTC by Jesse Glick
Modified: 2007-12-07 16:34 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 2006-02-14 19:22:31 UTC
E.g. in org.netbeans.modules.apisupport.project.Evaluator.createEvaluator.
Putting caret on return type of method correctly highlights the one return
statement in the method. But it also highlights unrelated return statements in
methods in a local class.
Comment 1 _ sandipchitale 2006-02-15 21:31:30 UTC
While travesing the method body looking for return statements and throw 
statements, the new expressions and java class definitions should be skipped.
Comment 2 _ sandipchitale 2006-02-15 21:32:28 UTC
Fixed.