Bug 31905 Package Explorer serious drawing problem
I have Windows 2000, JDK 1.4.0_01, Eclipse 2.1 M5 build. For no apparent reason, the package explorer seems to lose its mind for particular sections of the heirarchy. I am able to expand and collapse the tree and interact with it just fine. But certain sections become invisible and the only remedy is to restart eclipse. Please see the attached image. This has happend twice now, and I have no idea why.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ProblemsLabelDecorator.java
/*
	 * Creates decorator with a shared image registry.
	 * 
	 * @param registry The registry to use or <code>null</code> to use the Java plugin's
	 * image registry.
	 */
	/**
	 * Note: This constructor is for internal use only. Clients should not call this constructor.
	 */
	public ProblemsLabelDecorator(ImageDescriptorRegistry registry) {
		fRegistry= registry;
		fProblemChangedListener= null;
	}
	
	private ImageDescriptorRegistry getRegistry() {
		if (fRegistry == null) {
			fRegistry= fUseNewRegistry ? new ImageDescriptorRegistry() : JavaPlugin.getImageDescriptorRegistry();
		}
		return fRegistry;
	}
	
	/* (non-Javadoc)
	 * @see ILabelDecorator#decorateText(String, Object)
	 */
	public String decorateText(String text, Object element) {
		return text;
	}	
	/* (non-Javadoc)
	 * @see ILabelDecorator#decorateImage(Image, Object)