Bug 98327 [misc] File not saved on disk after "resave" editor context
N20060604-0010 - create project, package, A.java - open A.java in editor - go to OS explorer - delete A.java on disk - go back to workbench and activate editor observe: you get a dialog asking you whether you want to save the content - say yes observe: the dialog claims that the file exists. Strange, since I just deleted it. Say yes for override observe: the file doesn't end up on disk. You get an editor that the file doesn't exist.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitDocumentProvider.java
synchronized (info.fCopy) {
					Platform.run(new ISafeRunnable() {
						public void run() {
							try {
								info.fCopy.reconcile(ICompilationUnit.NO_AST, false, null, subMonitor1);
							} catch (JavaModelException ex) {
								handleException(ex);
							}
						}
						public void handleException(Throwable ex) {
							IStatus status= new Status(IStatus.ERROR, JavaUI.ID_PLUGIN, IStatus.OK, "Error in JDT Core during reconcile while saving", ex);  
							JavaPlugin.getDefault().getLog().log(status);
						}
					});
				}
			} finally {
				subMonitor1.done();
			}
			IDocument document= info.fTextFileBuffer.getDocument();
			IResource resource= info.fCopy.getResource();
			Assert.isTrue(resource instanceof IFile);
			if (!resource.exists()) {
				
				IProgressMonitor subMonitor2= getSubProgressMonitor(monitor, 50);
				try {
					createFileFromDocument(subMonitor2, (IFile) resource, document);
				} finally {
					subMonitor2.done();
				}
				return;