Bug 13507 LinkedPositionUI has a reference to SWT.COLOR_RED
LinkedPositionUI(ITextViewer, LinkedPositionManager) - org.eclipse.jdt.internal.ui.text.link.LinkedPositionUI has a reference to SWT.COLOR_RED which will be unreadble if the user sets their background colour to Red. We will be adding a getErrorText colour to JFaceColours in build >20020411. You may want to use that.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
/*
	 * @see AbstractTextEditor#editorContextMenuAboutToShow(IMenuManager)
	 */
	public void editorContextMenuAboutToShow(IMenuManager menu) {
		super.editorContextMenuAboutToShow(menu);
		
		/*
		 * http://dev.eclipse.org/bugs/show_bug.cgi?id=8735
		 * Removed duplicates of Edit menu entries to shorten context menu.
		 * Will be reworked for overal context menu reorganization.
		 */
		addAction(menu, IContextMenuConstants.GROUP_GENERATE, "AddImportOnSelection"); 
		addAction(menu, IContextMenuConstants.GROUP_GENERATE, "OrganizeImports"); 
		addAction(menu, IContextMenuConstants.GROUP_GENERATE, "CorrectionAssistProposal"); 
		
		addAction(menu, IContextMenuConstants.GROUP_GENERATE, "SurroundWithTryCatch"); 
		addAction(menu, ITextEditorActionConstants.GROUP_EDIT, "Comment"); 
		addAction(menu, ITextEditorActionConstants.GROUP_EDIT, "Uncomment"); 
		addAction(menu, ITextEditorActionConstants.GROUP_EDIT, "Format"); 
	}
	
	/*
	 * @see JavaEditor#createOutlinePage()
	 */
	protected JavaOutlinePage createOutlinePage() {
		JavaOutlinePage page= super.createOutlinePage();
		
		page.setAction("OrganizeImports", new OrganizeImportsAction(this));