Bug 35526 Error not surfaced on failed quick fix [quick fix]
Build: 2.1 RC3a 1) Create a java file, A.java: public class A { } 2) In the java editor, change the class name to "Com1". 3) The word "Com1" will be underlined because it doesn't match the compilation unit name. Select the name and invoke quick fix. 4) Choose the quick fix option, "Rename the compilation unit to Com1.java" -> Nothing happens. The log file contains several stack traces Expectation: The error should be reported to the user, not to the log (since it's a user error, not a program failure).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReorgCorrectionsSubProcessor.java
/*******************************************************************************
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation