Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 131310

Summary: autocomplete bug with Map.Entry
Product: [Eclipse Project] JDT Reporter: Jilles van Gurp <incoming>
Component: CoreAssignee: David Audel <david_audel>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Jilles van Gurp CLA 2006-03-10 07:01:10 EST
related to bug 131305 (i discovered this bug writing the test case for that)?

Type Map, ctrl+space to add java.util.Map to imports
it completes to
Map<V, K>
backspace the generic params away
now type a .Entry and ctrl+space to complete:
Eclipse adds a redundant import for Map.Entry and generates a warning about unused import for this import. 

Note (another bug?) the auto complete for Entry is incorrectly listed as Map<V, K>.Entry<V, K>. This type is illegal!
Comment 1 Eclipse Genie CLA 2019-10-11 20:02:41 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.