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

Bug 533948

Summary: [9] New module-info.java Dialog: Don't Suggest a Discouraged Module Name
Product: [Eclipse Project] JDT Reporter: Simon Archer <sja.eclipse>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: noopur_gupta
Version: 4.8   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Simon Archer CLA 2018-04-23 13:24:57 EDT
Using Eclipse SDK
Version: Photon (4.8)
Build id: I20180423-0655

When creating a Java Project checking the "Create module-info.java file" checkbox is very helpful. But the "New module-info.java" dialog should NOT populate the "Module name" field with a value that results in the warning "Discouraged module name."

Currently, if you name your project something like "Sandbox", the default module name will be "Sandbox", which is apparently discouraged. In this case "sandbox" would be an acceptable module name.

In my experience Eclipse should only populate fields with values that are legal and that do not result in a warning or error.
Comment 1 Noopur Gupta CLA 2018-04-24 02:50:06 EDT

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