Bug 126971 [correction] CorrectionMarkerResolutionGenerator his inconsistent hasResolutions and getResolutions for read-only files
20050208-0800 org.eclipse.jdt.internal.ui.text.correction.CorrectionMarkerResolutionGenerator can return true to hasMarkerResolutions() but returns an empty array when getMarkerResolutions is called. STEPS 1) Create a class than implements Serializable 2) Make the java file read-only 3) Select The serializable class SerializableTest does not declare a static final serialVersionUID field of type long 4) Select Quick fix (enabled because CorrectionMarkerResolutionGenerator returns true for hasMarkerResolutions in this case) 5) Dialog will come up with no resolutions (CorrectionMarkerResolutionGenerator returns an empty array for getMarkerResolutions in this case) This is not an issue if the file is not read-only. Marking major as ClearCase users can run into this issue quite easily as they frequently have read only files.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMessages.java
public static String ModifierCorrectionSubProcessor_addoverrideannotation;
	public static String ModifierCorrectionSubProcessor_adddeprecatedannotation;
	public static String LocalCorrectionsSubProcessor_externalizestrings_additional_info;
	public static String AssignToVariableAssistProposal_assigntoexistingfield_description;
	public static String ReorgCorrectionsSubProcessor_50_compliance_operation;
	public static String ReorgCorrectionsSubProcessor_no_50jre_title;
	public static String ReorgCorrectionsSubProcessor_no_50jre_message;
	public static String ReorgCorrectionsSubProcessor_50_compliance_changeworkspace_description;
	public static String ReorgCorrectionsSubProcessor_50_compliance_changeproject_description;
	public static String ReorgCorrectionsSubProcessor_50_compliance_changeProjectJREToDefault_description;
	public static String ReorgCorrectionsSubProcessor_50_compliance_changeWorkspaceJRE_description;
	public static String ReorgCorrectionsSubProcessor_50_compliance_changeProjectJRE_description;
	public static String ModifierCorrectionSubProcessor_default_visibility_label;
	public static String ReorgCorrectionsSubProcessor_configure_buildpath_label;
	public static String ReorgCorrectionsSubProcessor_configure_buildpath_description;
	public static String QuickAssistProcessor_extract_to_local_description;
	public static String ModifierCorrectionSubProcessor_suppress_warnings_initializer_label;
	public static String ModifierCorrectionSubProcessor_suppress_warnings_label;
	public static String ReorgCorrectionsSubProcessor_accessrules_description;
	public static String UnresolvedElementsSubProcessor_change_full_type_description;
	public static String LocalCorrectionsSubProcessor_remove_nls_tag_description;
	public static String LocalCorrectionsSubProcessor_qualify_left_hand_side_description;
	public static String LocalCorrectionsSubProcessor_LocalCorrectionsSubProcessor_qualify_right_hand_side_description;
	public static String CorrectionMessages_add_type_parameters_to_instantiation;
	public static String UnresolvedElementsSubProcessor_UnresolvedElementsSubProcessor_changetoattribute_description;
	public static String UnresolvedElementsSubProcessor_UnresolvedElementsSubProcessor_createattribute_description;
	public static String MissingAnnotationAttributesProposal_add_missing_attributes_label;
	public static String FixCorrectionProposal_HitCtrlEnter_description;
	public static String FixCorrectionProposal_hitCtrlEnter_variable_description;
}