Bug 98072 [JUnit] JUnit: slash in project name in configuration tab leads to error log
Against N20050602-0010: 1) From the Run... dialog, create a new JUnit launch configuration. 2) In the "Project: " text field, type "a/b" The stack trace below is logged in the Error Log. The fix is one line, and the error trace is ugly. Recommend fix for RC2.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitMainTab.java
String projectName= ""; 
		try {
			projectName = config.getAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, ""); 
		} catch (CoreException ce) {
		}
		fProjText.setText(projectName);
	}
	
	protected void updateTestTypeFromConfig(ILaunchConfiguration config) {
		String testTypeName= ""; 
		fOriginalTestMethodName= ""; 
		try {
			testTypeName = config.getAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, ""); 
			fOriginalTestMethodName = config.getAttribute(JUnitBaseLaunchConfiguration.TESTNAME_ATTR, ""); 
		} catch (CoreException ce) {			
		}
		fTestRadioButton.setSelection(true);
		setEnableSingleTestGroup(true);
		setEnableContainerTestGroup(false);		
		fTestContainerRadioButton.setSelection(false);
		fTestText.setText(testTypeName);
		fContainerText.setText(""); 
		setTestMethodLabel(fOriginalTestMethodName);
	}
	private void setTestMethodLabel(String testMethodName) {
		if (!"".equals(testMethodName)) { 
			fTestMethodLabel.setText(JUnitMessages.JUnitMainTab_label_method+fOriginalTestMethodName); 
		} else {
			fTestMethodLabel.setText(""); 
		}