Bug 63769 Endless loop after Show in Package Explorer
there are situations when you run in an endless loop in show in package explorer when the action is attempting to reveal an element.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
}
    
    private boolean revealElementOrParent(Object element) {
        if (this != null) { 
            if (revealAndVerify(element))
                return true;
            element= getVisibleParent(element);
            if (element != null) {
                if (revealAndVerify(element))
                    return true;
                if (element instanceof IJavaElement) {
                    IResource resource= ((IJavaElement)element).getResource();
                    if (resource != null) {
                        if (revealAndVerify(resource))
                            return true;
                    }
                }
            }
        }
        return false;
    }
    private Object getVisibleParent(Object object) {
    	
    	if (object == null)
    		return null;
    	if (!(object instanceof IJavaElement))
    	    return object;
    	IJavaElement element2= (IJavaElement) object;
    	switch (element2.getElementType()) {
    		case IJavaElement.IMPORT_DECLARATION: