Bug 536335 - [9] Quick Fix to fix project setup always adds to classpath
Summary: [9] Quick Fix to fix project setup always adds to classpath
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.8   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.9 M2   Edit
Assignee: Kalyan Prasad Tatavarthi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 536330
  Show dependency tree
 
Reported: 2018-06-27 04:40 EDT by Sarika Sinha CLA
Modified: 2018-08-01 02:22 EDT (History)
1 user (show)

See Also:


Attachments
quickfix adding to classpath (4.27 KB, application/x-zip-compressed)
2018-06-27 04:40 EDT, Sarika Sinha CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sarika Sinha CLA 2018-06-27 04:40:09 EDT
Created attachment 274635 [details]
quickfix adding to classpath

While fixing project setup, a check should be done before adding the project to classpath. If the project being added is a modular project, it should be added to modulepath.

Attaching the project.
Quickfix in b.B.testB(), allows to fix the project setup. it adds to classpath always. The error is still not gone, as the module can not read the unnamed module class files.
Comment 1 Eclipse Genie CLA 2018-07-10 10:36:29 EDT
New Gerrit change created: https://git.eclipse.org/r/125883
Comment 3 Sarika Sinha CLA 2018-07-16 04:51:31 EDT
Thanks Kalyan!!
Comment 4 Kalyan Prasad Tatavarthi CLA 2018-08-01 02:22:09 EDT
Verified in the Build  I20180731-2000