Bug 61539 [Wizards] Perspective switching fails
Build: I-20040506 1. Fresh workspace. 2. Create a Java project. 3. Answer yes when asked if you want to switch to the Java perspective. Nothing happens.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/newresource/BasicNewProjectResourceWizard.java
*/
	public boolean performFinish() {
		createNewProject();
		if (newProject == null)
			return false;
		updatePerspective();
		selectAndReveal(newProject);
		return true;
	}
	/*
	 * (non-Javadoc) Replaces the current perspective with the new one.
	 */
	private static void replaceCurrentPerspective(IPerspectiveDescriptor persp) {
		
		IWorkbenchWindow window = PlatformUI.getWorkbench()
				.getActiveWorkbenchWindow();
		if (window == null)
			return;
		IWorkbenchPage page = window.getActivePage();
		if (page == null)
			return;
		
		page.setPerspective(persp);
	}
	/**
	 * Stores the configuration element for the wizard. The config element will
	 * be used in <code>performFinish</code> to set the result perspective.
	 */
	public void setInitializationData(IConfigurationElement cfig,
			String propertyName, Object data) {