Bug 5361 No error tick on imports in Packages view
Add an import that causes an error (e.g. dani.is.bad) and save. ==> The Outline view shows the error ticks on the imports but the package view doesn't
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/MarkerErrorTickProvider.java
package org.eclipse.jdt.internal.ui.viewsupport;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.ICompilationUnit;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IJavaModelMarker;
import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.ISourceRange;
import org.eclipse.jdt.internal.ui.JavaPlugin;
/**
 * Used by the JavaElementLabelProvider to evaluate the error tick state of
 * an element.
 */
public class MarkerErrorTickProvider implements IErrorTickProvider {
	
	/*
	 * @see IErrorTickProvider#getErrorInfo
	 */
	public int getErrorInfo(IJavaElement element) {
		int info= 0;
		try {