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.
To reproduce, have to groovy files: fileA.groovy: class Foo { void bar() { println "foobar" } } fileB.groovy cs = new Foo() cs.bar(); Both files are saved and opened, now: - in fileA, Rename|Refactor class Foo to e.g FooBar - confirm refactoring => fileB has error badge, it disappears after next time I save file. The badge is only in Projects window and header of the file's tab in IDE. Inside the file as such there is no error. Product Version: NetBeans IDE Dev (Build 201211080001) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15 System: Linux version 3.2.0-32-generic-pae running on i386; UTF-8; en_US (nb)
Valid issue, thanks vlado. Doesn't look pretty, will fix this for 7.3
Another steps to reproduce: - in JavaSE project, create Groovy JUnit test (e.g. JUnit 4.X) - go to Project Properties and remove JUnit library => groovy unit test file does not have error badge in Projects window although there are errors in the file (imported classes not found). Re-saving again helps Product Version: NetBeans IDE Dev (Build 201211230002) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b16 System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb)