Bug 381942: JavaLeakTest fails in 4.2 build
diff --git a/org.eclipse.jdt.ui.tests/leaks/org/eclipse/jdt/ui/leaktest/LeakTestSetup.java b/org.eclipse.jdt.ui.tests/leaks/org/eclipse/jdt/ui/leaktest/LeakTestSetup.java
index c4b2346..9132213 100644
--- a/org.eclipse.jdt.ui.tests/leaks/org/eclipse/jdt/ui/leaktest/LeakTestSetup.java
+++ b/org.eclipse.jdt.ui.tests/leaks/org/eclipse/jdt/ui/leaktest/LeakTestSetup.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
+ * Copyright (c) 2000, 2012 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -13,6 +13,9 @@
 import junit.extensions.TestSetup;
 import junit.framework.Test;
 
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.intro.IIntroManager;
+
 /**
  *
  */
@@ -31,7 +34,8 @@
 		if (fgCurrentSetup != this) {
 			return;
 		}
-		// nothing done at the moment
+		IIntroManager introManager= PlatformUI.getWorkbench().getIntroManager();
+		introManager.closeIntro(introManager.getIntro());
 	}
 
 	protected void tearDown() throws Exception {