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 107899 - Annotation glyph rendering does not respect severity
Summary: Annotation glyph rendering does not respect severity
Status: RESOLVED DUPLICATE of bug 105808
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-22 21:59 UTC by Petr Hejl
Modified: 2007-11-05 13:39 UTC (History)
1 user (show)

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 Petr Hejl 2007-06-22 21:59:53 UTC
When more than single annotation glyph is rendered, it seems to be the last added annotation glyph visible. For example
overrides annotation glyph (none severity) is rendered over custom annotation glyph (warning severity). I suppose
annotation with higher severity should be the first visible.
Comment 1 Andrei Badea 2007-06-25 10:47:58 UTC
This is probably a defect. Have:

    public class Main implements Callable<Void> {

        public Void call() {
            return null;
        }
    }

The "public Void call()" line is annotated with an overrides annotation. When the "return null" line is removed (I use
Ctrl+E), the "public Void call" line is also annotated with a "missing return statement" error. Sometimes (randomly, it
seems) the overrides annotation takes priority over the error annotation, making it difficult to see what's wrong.
Comment 2 Vitezslav Stejskal 2007-06-26 10:53:00 UTC

*** This issue has been marked as a duplicate of 105808 ***