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

Bug 315700

Summary: Incorrect parameter type suggestion for a generic map
Product: [Eclipse Project] JDT Reporter: Remy Suen <remy.suen>
Component: CoreAssignee: Ayushman Jain <amj87.iitr>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug
Attachments:
Description Flags
Screenshot depicting the problem in question. none

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.