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

Bug 399851

Summary: Wrong type for code completion with new operator for ambigous imports
Product: [Eclipse Project] JDT Reporter: Juergen Weber <juergen>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Juergen Weber CLA 2013-02-04 07:25:36 EST
public class T
{
	public static void main(String[] args)
	{
		Properties p = new
	}
}

C-Blank with the cursor after new gives T() instead of Properties()

If there is an import for java.util.Properties, a class chooser dialog correctly appears.

The dialog should also appear if there is no import, yet.

Version: 4.3.0
Build id: I20121214-0730
Comment 1 Eclipse Genie CLA 2020-02-25 13:56:28 EST
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.