Community
Participate
Working Groups
Build ID: N20090419-2000 1. Create the following class: // --------------------v @interface FooAnnotation { } 2. Enable the "Undocumented empty block" warning. Observe how the "n" and the following space is underlined, unlike with non @interface classes. Compare with: // ------------------v interface FooInterface { }
This has been fixed the opposite way in recent builds: the warning is now also issued for: interface FooInterface { }
Reopening. This bug is about the wrong *range* of the warning in the *annotation* case.
Created attachment 134450 [details] Proposed fix
David, please review.
Created attachment 134552 [details] Proposed fix Reduced patch. Two methods were actually identical.
Patch looks good.
Released for 3.5RC1. Added regression test in org.eclipse.jdt.core.tests.compiler.regression.AnnotationTest#test269
Verified for 3.5RC1 using I20090513-2000