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/wizards/JUnitWizard.java
/*
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.internal.junit.wizards;
import java.lang.reflect.InvocationTargetException;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.eclipse.jdt.internal.junit.ui.JUnitPlugin;
import org.eclipse.jdt.internal.junit.util.*;
import org.eclipse.jface.dialogs.DialogSettings;
import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.jface.operation.IRunnableWithProgress;