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

Summary: Incorrect error badge when correcting error
Product: java Reporter: Jiri Prox <jiriprox>
Component: SourceAssignee: Rastislav Komara <moonko>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 121950    

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.