Bug 65321 Call hierarchy: close "top" file and it won't open again
Steps: 1. Open a project with JUnit 3.8.1 sources 2. Open junit.framework.Assert 3. Double click fail( String ) method 4. Press Ctrl+Alt+H 5. Close Assert.java 6. In the "Call Hierarchy" view double-click "fail( String )" -- the "root" of the hierarchy Observed: Assert.java does not open Expected: Assert.java should open Build: 200405280010 Was first observed with early M-s (around 5 or 6 maybe)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyUI.java
}
    }
    public static void jumpToLocation(CallLocation callLocation) {
        try {
            IEditorPart methodEditor = EditorUtility.openInEditor(callLocation.getMember(),
                    false);
            if (methodEditor instanceof ITextEditor) {
                ITextEditor editor = (ITextEditor) methodEditor;
                editor.selectAndReveal(callLocation.getStart(),
                    (callLocation.getEnd() - callLocation.getStart()));
            }
        } catch (JavaModelException e) {
            JavaPlugin.log(e);
        } catch (PartInitException e) {
            JavaPlugin.log(e);
        }
    }
    public static void openInEditor(Object element, Shell shell, String title) {
        CallLocation callLocation= CallHierarchy.getCallLocation(element);
        if (callLocation == null) {
            return;
        }
        try {
            boolean activateOnOpen = OpenStrategy.activateOnOpen();
            IEditorPart methodEditor = EditorUtility.openInEditor(callLocation.getMember(),
                    activateOnOpen);
            if (methodEditor instanceof ITextEditor) {
                ITextEditor editor = (ITextEditor) methodEditor;
                editor.selectAndReveal(callLocation.getStart(),
                    (callLocation.getEnd() - callLocation.getStart()));