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 180632

Summary: Incorrect error badge: "package ... has already been annotated"
Product: java Reporter: Jesse Glick <jglick>
Component: SourceAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: REGRESSION
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2010-02-11 13:36:57 UTC
[100211-1f0a9f17d754] projectuiapi now displays an error badge; projectuiapi/test/unit/src/org/netbeans/spi/project/ui/support/package-info.java when opened shows an error badge on an annotation:

@CompositeCategoryProvider.Registration( // THIS LINE IN ERROR
    projectType="test",
    category="Category2",
    categoryLabel="Category #2",
    position=300)
package org.netbeans.spi.project.ui.support;

saying

"package org.netbeans.spi.project.ui.support has already been annotated"
Comment 1 Jesse Glick 2010-02-11 13:44:36 UTC
Seems to affect every package-info.java with an annotation.
Comment 2 Jan Lahoda 2010-02-11 22:32:10 UTC

*** This bug has been marked as a duplicate of bug 180488 ***