Bug 16843 Not present exception closing java editor that is outside classpath
Build 20020521 1. Create java project 'Proj' with source folder 'src' 2. Create folder 'p' directly under 'Proj' (i.e. outside build path) 3. Create file 'X.java' under 'Proj/p' 4. Open X.java in java editor 5. Close it Observe: You get the following message printed to the log: !ENTRY org.eclipse.jdt.ui 4 1 May 22, 2002 17:14:39.936 !MESSAGE Child not present !SUBENTRY 1 org.eclipse.jdt.core 4 969 May 22, 2002 17:14:39.936 !MESSAGE p does not exist.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementContentProvider.java
/*
 * (c) Copyright IBM Corp. 2000, 2001.
 * All Rights Reserved.
 */
package org.eclipse.jdt.ui;
import org.eclipse.core.resources.*;
import org.eclipse.jdt.core.*;
import org.eclipse.jdt.internal.ui.*;
import org.eclipse.jdt.internal.ui.viewsupport.*;
import org.eclipse.jface.viewers.*;
import org.eclipse.swt.widgets.*;
 
/**
 * A tree content provider for Java elements. It extends the 
 * StandardJavaElementContentProvider with support for listening to changes.
 * It is recommended to implement a custom listening support
 * and to derive from the StandardJavaElementContentProvider directly.
 * <p>
 * This class may be instantiated; it is not intended to be subclassed.
 * </p>
 * @see StandardJavaElementContentProvider
 */
public class JavaElementContentProvider extends StandardJavaElementContentProvider implements ITreeContentProvider, IElementChangedListener {