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
this.addPage(mainPage);
		
		if (ResourcesPlugin.getWorkspace().getRoot().getProjects().length > 0) {
			referencePage = new WizardNewProjectReferencePage(
					"basicReferenceProjectPage");
			referencePage.setTitle(ResourceMessages
					.getString("NewProject.referenceTitle")); 
			referencePage.setDescription(ResourceMessages
					.getString("NewProject.referenceDescription")); 
			this.addPage(referencePage);
		}
	}
	/**
	 * Creates a new project resource with the selected name.
	 * <p>
	 * In normal usage, this method is invoked after the user has pressed Finish
	 * on the wizard; the enablement of the Finish button implies that all
	 * controls on the pages currently contain valid values.
	 * </p>
	 * <p>
	 * Note that this wizard caches the new project once it has been
	 * successfully created; subsequent invocations of this method will answer
	 * the same project resource without attempting to create it again.
	 * </p>
	 * 
	 * @return the created project resource, or <code>null</code> if the
	 *         project was not created
	 */
	private IProject createNewProject() {
		if (newProject != null)