Bug 5818 Debugger Source Lookup page claims project is closed
I have a Java project in my workspace, and it is not closed. Upon starting the workbench, Project->Properties->Debugger Source Lookup, the page claims that debugger source lookup is not available for closed projects. If I force a build of the project, it works as expected. If I close the workbench and restart, I get the same problem. 20011106
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/launcher/JavaProjectPropertyPage.java
protected Control createClosedContents(Composite parent) {
		Label label= new Label(parent, SWT.LEFT);
		label.setText(LauncherMessages.getString("javaProjectPropertyPage.closed"));
		return label;
	}
		
	final public boolean performOk() {
		if (fHasJavaContents) {
			return performJavaOk();
		}
		return true;
	}
		
	protected IJavaProject getJavaProject() {
		Object obj= getElement();
		if (obj instanceof IProject) {
			IProject p= (IProject)obj;
			try {
				if (p.hasNature(JavaCore.NATURE_ID)) {
					return JavaCore.create(p);
				}
			} catch (CoreException e) {
				JavaPlugin.log(e.getStatus());
			}
		} else if (obj instanceof IJavaProject) {
			return (IJavaProject)obj;
		}
		return null;
	}
}