Bug 526277 - [9][quick fix] provide quick fix for adding JRE module for unresolved qualified type
Summary: [9][quick fix] provide quick fix for adding JRE module for unresolved qualifi...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7.1a   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-19 12:51 EDT by Stephan Herrmann CLA
Modified: 2017-10-19 13:10 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2017-10-19 12:51:27 EDT
See bug 526270 comment 4:

A JRE type was not resolvable, because it was not contained in the default set of root modules. In this case, a quick fix could create the necessary add-modules (technically: limit-modules) attribute.

Need to figure out, if performance allows us to scan the entire JRE System Library, while the project's view of it is limited.

This quick fix needs to distinguish cases of unnamed vs. named modules, because default set of root modules differs for those, see bug 526054.