Bug 46394 RCP: Add marker action disabled for Java editor
N20031111 Start fresh workspace and create a class in a Java project. The following actions are disabled: Edit > Add Bookmark... Edit > Add Task... It works in the standard text editor.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditor.java
private boolean fPosted= false;
			
			private IClassFileEditorInput fClassFileEditorInput;
			
			
			public InputUpdater() {
			}
			
			/*
			 * @see Runnable#run()
			 */
			public void run() {
				
				IClassFileEditorInput input;
				synchronized (this) {
					input= fClassFileEditorInput;
				}
				
				try {
					
					if (getSourceViewer() != null)
						setInput(input);				
				
				} finally {
					synchronized (this) {
						fPosted= false;
					}
				}