Bug 88854 [refactoring] Error message in Change Method Signature dialog doesnt correctly display method name if name contains character &
Error message in the Change Method Signature dialog does not correctly display method name if the name contains character &. You may complete the following steps in order to reproduce this scenario: 1. Create a new Java project and add a new Java class into the newly created project. 2. Implement a method in the class created in step 1. 3. In the Outline view, select the method implemented in step 2, right click and choose Refactor -> Change Method Signature from the context menu. The Change Method Signature dialog. 4. Type &abc in the Method name: filed. Expected Behavior: An error message should be displayed stating that &abc is not a valid Java identifier. Expected Behavior: An error message is displayed stating that abc (instead of &abc) is not a valid Java identifier. See the attached screenshot of the Change Method Signature dialog for more information.
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/RefactoringWizardDialog2.java
private RefactoringWizard fWizard;
	private IWizardPage fCurrentPage;
	private IWizardPage fVisiblePage;
	
	private boolean fMakeNextButtonDefault;
	
	private PageBook fPageContainer;
	private PageBook fStatusContainer;
	private MessageBox fMessageBox;
	private ProgressMonitorPart fProgressMonitorPart;
	private int fActiveRunningOperations;
	private Cursor fWaitCursor;
	private Cursor fArrowCursor;
	private static final int PREVIEW_ID= IDialogConstants.CLIENT_ID + 1;
	private int fPreviewWidth;
	private int fPreviewHeight;
	private IDialogSettings fSettings;
	private static final String DIALOG_SETTINGS= "RefactoringWizard.preview"; 
	private static final String WIDTH= "width"; 
	private static final String HEIGHT= "height"; 
	
	private static final Image INFO= RefactoringPluginImages.get(RefactoringPluginImages.IMG_OBJS_REFACTORING_INFO);
	private static final Image WARNING= RefactoringPluginImages.get(RefactoringPluginImages.IMG_OBJS_REFACTORING_WARNING);
	private static final Image ERROR= RefactoringPluginImages.get(RefactoringPluginImages.IMG_OBJS_REFACTORING_ERROR);
	
	private static class MessageBox extends Composite {