Project: JDT
Bug 148664 [spec] IJavaModel#getJavaProject(String) throws IAE for invalid name
Reported: 2006-06-26 11:16:19 | Status: verified fixed

I20060620-1010 IJavaModel#getJavaProject(String) throws an IllegalArgumentException for an invalid project name, see IWorkspaceRoot#getProject(String). #getJavaProject() should either repeat the constraints on the name, or it should accept any name. Steps to reproduce: - open Run... dialog - doubleclick "Junit Plug-in Test" - select second radio button "Run all tests..." The empty launch configuration is a bug in debug (fixed in HEAD). I've added a check to avoid the issue in JDT/UI HEAD.

Files changed in fix:
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java