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 150559 - Incorrect error badge when correcting error
Summary: Incorrect error badge when correcting error
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks: 121950
  Show dependency tree
 
Reported: 2008-10-17 16:05 UTC by Jiri Prox
Modified: 2009-08-07 18:43 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 Jiri Prox 2008-10-17 16:05:34 UTC
Product Version: NetBeans IDE 6.5 RC1 (Build 200810170201)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13
System: Linux version 2.6.22-15-generic running on i386; UTF-8; en_US (nb)

The error badges don't go away when correcting syntax error. It is necessary to open incorrectly badged file to get it
of it.

Steps to reproduce:
1) have two files:

public interface GenericIface<T> {
    public void ifaceMethod(T input);
    
}

and 

public class GenSuperClass<T> implements  GenericIface<T> {
        
    public void ifaceMethod(T input) {
    }
    
}

2) put space between words Generic Iface in interface declaratin
-> both files have error badges

3) correct the error and save the file

-> the badge for interface disappears but the second is still there, task list shows error in the second file
Comment 1 Rastislav Komara 2009-02-03 10:52:55 UTC
Overtake.
Comment 2 Dusan Balek 2009-08-07 18:43:15 UTC
Already fixed in the current dev build.