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 48440 - [40cat] - Fix imports deletes any imports for JDK1.5 annotations
Summary: [40cat] - Fix imports deletes any imports for JDK1.5 annotations
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Other
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
: 48167 51956 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-03 09:38 UTC by Marek Grummich
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test.java (505 bytes, text/plain)
2004-09-03 09:39 UTC, Marek Grummich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Grummich 2004-09-03 09:38:39 UTC
Build 200409011800, jdk1.5.0-b63
Summary is selfexplaining, but ... open an
attached  file in the editor and invoke Fix
Imports (Alt-Shift-F) action. The line 'import
java.lang.annotation.*;' is removed and code
becomes uncompilable. 
Based on Ramon Casha's report from NetCat.
Comment 1 Marek Grummich 2004-09-03 09:39:21 UTC
Created attachment 17349 [details]
Test.java
Comment 2 Daniel Prusa 2004-09-07 12:41:51 UTC
*** Issue 48167 has been marked as a duplicate of this issue. ***
Comment 3 Daniel Prusa 2004-09-15 15:41:59 UTC
/cvs/editor/src/org/netbeans/modules/editor/java/JavaFixAllImports.java,v
 <--  JavaFixAllImports.java
new revision: 1.19; previous revision: 1.18
Comment 4 Marek Grummich 2004-10-07 11:36:48 UTC
Verified 200410070525
Comment 5 Tomas Hurka 2004-12-01 13:05:04 UTC
*** Issue 51956 has been marked as a duplicate of this issue. ***
Comment 6 Quality Engineering 2007-09-20 09:46:11 UTC
Reorganization of java component