Bug 33187 Eclipse stops working at seemingly random times...
Whenever I am using the Linux-GTK version of Eclipse, eventually, eclipse will stop opening files. It will simply never bring up the editor when I double- click on files. I have previously opened them, and I have never had this problem in the Windows version. There does not seem to be any triggering event that I could note. Eventually, it just stopped working. When I close Eclipse, it says an error occured. Check the error log. I wasn't sure where the error log was, but I would be happy to reinstall Eclipse 2.1 and get it to happen again if someone will tell me where to look for this. The problem did has never appeared in the Windows version, or version 2.0 or prior. I only noticed it in Eclipse 2.1 RC1, and the one just prior to it (I cannot remember if this was G6 or G5 or M5, but the stable release just before RC1).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaMarkerAnnotation.java
import org.eclipse.jdt.ui.PreferenceConstants;
import org.eclipse.jdt.internal.core.Util;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.JavaPluginImages;
import org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor;
public class JavaMarkerAnnotation extends MarkerAnnotation implements IJavaAnnotation {
	
	private static final int NO_IMAGE= 0;
	private static final int ORIGINAL_MARKER_IMAGE= 1;
	private static final int QUICKFIX_IMAGE= 2;
	private static final int QUICKFIX_ERROR_IMAGE= 3;
	private static final int OVERLAY_IMAGE= 4;
	private static final int GRAY_IMAGE= 5;
	private static final int BREAKPOINT_IMAGE= 6;
	private static Image fgQuickFixImage;
	private static Image fgQuickFixErrorImage;
	private static ImageRegistry fgGrayMarkersImageRegistry;
	
	private IDebugModelPresentation fPresentation;
	private IJavaAnnotation fOverlay;
	private boolean fNotRelevant= false;
	private AnnotationType fType;
	private int fImageType;
	private boolean fQuickFixIconEnabled;
	
	
	public JavaMarkerAnnotation(IMarker marker) {
		super(marker);
	}