Bug 34332 Spurious JUnit View Opens in Debug Perspective
Using RC2. This is a wierd one, so please for give me if this is working as designed. 1. Write and run HelloWorld.java. 2. Open the Debug perspective. 3. Notice that the Console and Task views are correctly stacked in place. 4. Select the terminated process and choose "Remove All Terminated" from the context menu. 5. Notice that the JUnit view appears stacked with the Console and Task view. Quite why this would happen I cannot say. Clearly I suspect this to be a bug.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JUnitPlugin.java
public static final String PLUGIN_ID = "org.eclipse.jdt.junit" ; 
	public static final String ID_EXTENSION_POINT_TESTRUN_LISTENERS= PLUGIN_ID + "." + "testRunListeners"; 
	public final static String TEST_SUPERCLASS_NAME= "junit.framework.TestCase"; 
	public final static String TEST_INTERFACE_NAME= "junit.framework.Test"; 
	private static URL fgIconBaseURL;
	
	/**
	 * Use to track new launches. We need to do this
	 * so that we only attach a TestRunner once to a launch.
	 * Once a test runner is connected it is removed from the set.
	 */
	private AbstractSet fTrackedLaunches= new HashSet(20);
	/**
	 * Vector storing the registered test run listeners
	 */
	private Vector testRunListeners;
		
	public JUnitPlugin(IPluginDescriptor desc) {
		super(desc);
		fgPlugin= this;
		String pathSuffix= "icons/full/"; 
		try {
			fgIconBaseURL= new URL(getDescriptor().getInstallURL(), pathSuffix);
		} catch (MalformedURLException e) {
			
		}
	}
		
	public static JUnitPlugin getDefault() {