Bug 28638 [Preferences] Import Preferences: Crashes on eclipse
bundles/org.eclipse.jface/src/org/eclipse/jface/resource/FontRegistry.java
* The following example shows how to use the font registry:
	 * <pre>
	 *	FontRegistry registry = new FontRegistry("com.example.myapp.fonts");
	 *  Font font = registry.get("textfont");
	 *  control.setFont(font);
	 *  ...
	 * </pre>
	 *
	 * @param location the name of the resource bundle
	 * @param the ClassLoader to use to find the resource bundle
	 * @exception MissingResourceException if the resource bundle cannot be found
	 * @since 2.1
	 */
	public FontRegistry(String location, ClassLoader loader)
		throws MissingResourceException {
		Display display = Display.getCurrent();
		Assert.isNotNull(display);
		
		
		readResourceBundle(location);
		hookDisplayDispose(display);
	}
	/**
	 * Load the FontRegistry using the ClassLoader from the PlatformUI
	 * plug-in
	 * @see FontRegistry(String,loader) 
	 */
	public FontRegistry(String location) throws MissingResourceException {