Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315700 - Incorrect parameter type suggestion for a generic map
Summary: Incorrect parameter type suggestion for a generic map
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ayushman Jain CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-03 19:24 EDT by Remy Suen CLA
Modified: 2020-04-07 14:36 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot depicting the problem in question. (9.69 KB, image/gif)
2010-06-03 19:24 EDT, Remy Suen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2010-06-03 19:24:55 EDT
Created attachment 171053 [details]
Screenshot depicting the problem in question.

import java.util.Map;

class MapTest {

	void apply(Map<?, ?> map) {
		map.put // <-invoke CC here and see 'putAll(null m)'
	}
}

Please see attached.
Comment 1 Olivier Thomann CLA 2010-06-03 19:31:32 EDT
Ayushman, please investigate.

Remy, I guess you are using latest I-build?
Comment 2 Remy Suen CLA 2010-06-03 19:34:18 EDT
(In reply to comment #1)
> Remy, I guess you are using latest I-build?

Not really super duper latest but pretty late, I'm running on a eclipse-e4-SDK-incubation-I20100531-1900-win32 so close enough I guess.
Comment 3 Eclipse Genie CLA 2020-04-07 14:36:04 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. 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.