Bug 59050 Dead lock in JavaReconciler
Using build I200404131323. I was editing several files and haven't save them immediately when my eclipse hanged infinitely... Looking at console, the exception seems to show that I was trying to open a popup-menu on a new created class, but I'm not completely sure that dead-lock occurred exactly at this moment. I'll add complete console output including VM Dump Thread which identifies the dead-lock... Set severity 'critical' as I have to cancel my eclipse session without saving and lost my modifications in modified editors...
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
}
		/*
		 * @see org.eclipse.jface.text.IPositionUpdater#update(org.eclipse.jface.text.DocumentEvent)
		 */
		public void update(DocumentEvent event) {
			int eventOffset= event.getOffset();
			int eventOldLength= event.getLength();
			int eventNewLength= event.getText() == null ? 0 : event.getText().length();
			int deltaLength= eventNewLength - eventOldLength;
			try {
				Position[] positions= event.getDocument().getPositions(fCategory);
				for (int i= 0; i != positions.length; i++) {
					Position position= positions[i];
					if (position.isDeleted())
						continue;
					int offset= position.getOffset();
					int length= position.getLength();
					int end= offset + length;
					if (offset >= eventOffset + eventOldLength) 
						
						
						position.setOffset(offset + deltaLength);
					else if (end <= eventOffset) 
						
						
						;
					else if (offset <= eventOffset && end >= eventOffset + eventOldLength) {
						
						position.setLength(length + deltaLength);
					} else if (offset < eventOffset) {