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 52372 - Fix imports does not work for annotations
Summary: Fix imports does not work for annotations
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Martin Matula
URL:
Keywords:
Depends on: 53109
Blocks:
  Show dependency tree
 
Reported: 2004-12-14 10:36 UTC by _ rkubacki
Modified: 2007-09-26 09:14 UTC (History)
0 users

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 _ rkubacki 2004-12-14 10:36:55 UTC
Dev build from Dec 14, JDK5.0u1-b06 

Create a simple annotation like:
package my.library;
@Documented
public @interface Api {
    String value();
}

Now the @Documented annotation cannot be resolved
so try try 'Fix imports' but it fails.
Comment 1 Martin Matula 2004-12-21 12:19:09 UTC
Assigning to Dan.
Comment 2 Martin Matula 2005-01-10 14:03:36 UTC
Fix imports for annotations is fixed in javacore41 branch. The fix
will be commited to the maintrunk as soon as the issue 53109 passes
the fasttrack API review.
Comment 3 Martin Matula 2005-01-14 14:50:38 UTC
Fixed with issue 53109.
Comment 4 Jiri Prox 2005-07-12 16:24:37 UTC
Verified in 4.1 (200507110943)