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 256632

Summary: Fix Import prompts user to resolve symbol that is already resolved
Product: java Reporter: _ gtzabari <gtzabari>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Other   
Issue Type: DEFECT Exception Reporter:
Attachments: Testcase

Description _ gtzabari 2015-11-16 21:32:06 UTC
Created attachment 157366 [details]
Testcase

Product Version: NetBeans IDE Dev (Build 201511160002)
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b17
Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b17
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

Repro steps:
1. Open testcase
2. Open Test.java in editor.
3. Invoke Fix Imports
4. Netbeans offers to import Constants.MAX_TRANSACTION even though the symbol is already resolved.
5. Fix Import keeps on asking users to resolve this symbol regardless of how many times it is invoked.