Bug 559173 - [resource] Collection methods like Map.put() are not resource creations / acquisitions
Summary: [resource] Collection methods like Map.put() are not resource creations / acq...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.15   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-14 14:03 EST by Stephan Herrmann CLA
Modified: 2020-06-05 17:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2020-01-14 14:03:58 EST
Similar to bug 558574 certain collection methods like Map.put() may appear as creating a new resource (if instantiated with V <: Closeable).

This produces unwarranted resource leak warnings.