Community
Participate
Working Groups
- Open Module properties dialog of JRE. - In Details tab, click Add for read modules. - Add a src module. Leave Target empty. - Click OK. => Nothing is added in the table. If target module is mandatory then OK should be disabled when it is empty.
Also, I tried adding some random entry in target module like "A B". It is accepted. Maybe we can use JavaConventions#validateModuleName and check for errors.
Thanks for the suggestions. I added validation for "Target module" to detect - empty - not a legal module name While the text field has not been edited, the error is silent, i.e., not shown in the status line, but OK is disabled. Also included: consistent quoting of names in validation messages. Pushed to BETA_JAVA9 via http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?h=BETA_JAVA9&id=e4f8ac1575b431d519b72bb4b2ae10564cc39eea
Pushed also to R4_7_maintenance for 4.7.1a via http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?h=R4_7_maintenance&id=b65ba779d36829e7819a98e31bdb3bb5bd6ed09d