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/ChangeCorrectionProposal.java
/**
	 * Sets the change element.
	 * @param change the change
	 */
	protected void setChange(Change change) throws CoreException {
		fChange= change;
	}	
	/**
	 * Sets the display name.
	 * @param name The name to set
	 */
	public void setDisplayName(String name) {
		fName= name;
	}
	/**
	 * Gets the relevance.
	 * @return Returns an int
	 */
	public int getRelevance() {
		return fRelevance;
	}
	/**
	 * Sets the relevance.
	 * @param relevance The relevance to set
	 */
	public void setRelevance(int relevance) {
		fRelevance= relevance;
	}
}