Bug 42690 Loading .importorder file fails when package prefix entry starts with an uppercase letter [code manipulation]
After saving my manually configured import order definition in the organize imports preferences page, I can't load it again ( Error Box: Not a valid import order file). The reason seems to be the existence of package prefix entrys which start with an uppercase letter.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ImportOrganizePreferencePage.java
String[] order;
		IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
		String str= prefs.getDefaultString(PREF_IMPORTORDER);
		if (str != null) {
			order= unpackOrderList(str);
		} else {
			order= new String[0];
		}
		int threshold= prefs.getDefaultInt(PREF_ONDEMANDTHRESHOLD);
		if (threshold < 0) {
			threshold= Integer.MAX_VALUE;
		}
		boolean ignoreLowerCase= prefs.getDefaultBoolean(PREF_IGNORELOWERCASE);
		initialize(order, threshold, ignoreLowerCase);
		
		super.performDefaults();	
    }
    /**
     * @see org.eclipse.jface.preference.IPreferencePage#performOk()
     */
    public boolean performOk() {
  		IPreferenceStore prefs= JavaPlugin.getDefault().getPreferenceStore();
  		prefs.setValue(PREF_IMPORTORDER, packOrderList(fOrderListField.getElements()));
  		prefs.setValue(PREF_ONDEMANDTHRESHOLD, fThresholdField.getText());
  		prefs.setValue(PREF_IGNORELOWERCASE, fIgnoreLowerCaseTypesField.isSelected());
  		JavaPlugin.getDefault().savePluginPreferences();
        return true;
    }
}