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.
Steps to reproduces: 1) Create a java interface with two methods and pass a class object as parameter 2) In a java class implement the interface in step 1 3) The editor info tip asks to implement all abstract metods just clik it 4) It create the implementation methods BUT it imports multiple(duplicates) copies of import statement of the class object used as a parameter
This happens when the package that contains the class object that is passed as the parameter in the interface method is not api version (This happened to me in a net beans module project)
Product Version: NetBeans IDE Dev (Build 200810011401) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\Rajiv Perera\.netbeans\dev
Can happen if the parameter's class is not resolvable. I am going to attach example project. To reproduce, unpack, open c.Main and accept the fix.
Created attachment 71117 [details] Test project.
Should be fixed in current dev build.