Created attachment 91635 [details]
NB 6.8 Dev 200911230200
Open the attached project. It should have the Sources->Source/Binary Format set to JDK 6.
Open the class C1, which implements interface I1.
You should now see the hints regarding the @Override annotation. Don't add them.
STEP 1. Go to the first method m1(). Issue an ALT+Enter keyboard stroke, and then click outside the shown lists, in the editor (that way no changes are made to the code).
STEP 2. Hover over the m2() method's hint. You should see the "Add @Override Annotation" appearing twice. Don't take any action.
STEP 3. Do STEP 1 again, and then STEP 2. You should see the hint list incrementing by one more entry of "Add @Override Annotation".
Now if you do STEP 1 on the method m2(), you'll notice that the hints list of m2() gets reset, and the hints list of m1() grows.
I didn't test this with other hints.
Weird, but not a P2 imho. Hint is never displayed twice on alt-enter.
Max, have you followed the steps? The hints tooltip list increments at the other method. So if you do ALT+Enter on m1(), go to m2() hint, and see the tooltip list (on hovering on the bulb).
I'm no saying it is not reproducible -- just that on alt-enter, it gets refreshed, so it applies on to hovering, which does not seem to be so serious to me. I'm going to fix this soon anyway, so it won't be such a difference.
Hei Max, no problem. I agree with the bug being P3. I just pushed it a bit, so it wouldn't get overlooked :-P
I hope that "soon" means that it will vanish with the RC.
Thanks for your time.
Well, it's still present in RC1.
It seems that "soon" doesn't mean RC1. If this release gets adopted...
No offense, but it would look, literally look bad. I understand it's a P3, and all, but my argument is that it's a bug that shows itself, and makes NB look... I also understand that it isn't hard to fix, so I still hope.
Any news on this, Max?
Thanks for your time.
I've put the fix into trunk. We have to discuss whether this will go to 6.8 with quality engineers -- but imho, this won't be part of 6.8, sorry. There will be a patch released soon (http://wiki.netbeans.org/NetBeansPatchesProcess).
Integrated into 'main-golden', will be available in build *200911300200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Max Sauer <email@example.com>
Log: #177549: Override annotation hint multiply itself
Product Version: NetBeans IDE Dev (Build 201001120200)
The fix has been ported into the release68_fixes repository.