Bug 19014 Empty CU after reorg
F2 - enable single click and show in members in packages view - open TestCase.java in editor - give focus to packages view - change it on disk - copy a method in TestCase using DnD - activate the TestCase.java editor - answer question with no - activate revert from context menu observe: CU is empty
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
}
			
			if (resource != null && !overwrite)
				checkSynchronizationState(info.fModificationStamp, resource);
				
			if (fSavePolicy != null)
				fSavePolicy.preSave(info.fCopy);
				
			try {
				fIsAboutToSave= true;
				
				info.fCopy.commit(overwrite, monitor);
			} finally {
				fIsAboutToSave= false;
			}
			
			AbstractMarkerAnnotationModel model= (AbstractMarkerAnnotationModel) info.fModel;
			model.updateMarkers(info.fDocument);
			
			if (resource != null)
				info.setModificationStamp(computeModificationStamp(resource));
				
			if (fSavePolicy != null) {
				ICompilationUnit unit= fSavePolicy.postSave(original);
				if (unit != null) {
					IResource r= unit.getUnderlyingResource();
					IMarker[] markers= r.findMarkers(IMarker.MARKER, true, IResource.DEPTH_ZERO);
					if (markers != null && markers.length > 0) {
						for (int i= 0; i < markers.length; i++)
							model.updateMarker(markers[i], info.fDocument, null);