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

Bug 522569

Summary: [9] Create module-info.java command creates module-info with duplicate exports
Product: [Eclipse Project] JDT Reporter: Sasikanth Bharadwaj <sasikanth.bharadwaj>
Component: UIAssignee: Noopur Gupta <noopur_gupta>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: stephan.herrmann
Version: 4.8   
Target Milestone: 4.7.1a   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Sasikanth Bharadwaj CLA 2017-09-21 07:02:16 EDT
Happens when there are multiple source folders in the project each containing a package with the same name

for example, in org.eclipse.jdt.core, there are 2 source folders antadapter and model, each containing the package org.eclipse.jdt.core. This would result in the generated module-info containing two exports org.eclipse.jdt.core entries which is not valid
Comment 1 Stephan Herrmann CLA 2017-09-26 17:27:20 EDT
These duplicates are meanwhile a duplicate of Noopur's bug 522765 :)

*** This bug has been marked as a duplicate of bug 522765 ***