Bug 61509 [Preferences] Preferences.OK should be in a SafeRunnable.
1. I downloaded the latest integration build (200405060200) 2. Updated to org.eclipse.jdt.cheetah04 (0.0.4). 3. Upon restart, I imported a .java file with generic class and generic methods, to test generic usage in Eclipse. 4. I went into the preferences menu, and selected Java/Compiler. On the Compliance and Classfiles page I chose Compiler compliance level: 1.5. I pressed the "Apply" button and the "OK" button is immediatly highlighted. I press the "OK" button and the button lights up as if the command is recieved but does nothing (preference pane remains open). The only way to exit is to press the "Cancel" button or to close the window. Expected Results: Expected source to recompile file and remove source errors. Actual Results: Forced to close preference window, applying source change to 1.5 has no effect.
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
* The valid message types are one of <code>NONE</code>,
	 * <code>INFORMATION</code>,<code>WARNING</code>, or
	 * <code>ERROR</code>.
	 * </p>
	 * <p>
	 * Note that for backward compatibility, a message of type
	 * <code>ERROR</code> is different than an error message (set using
	 * <code>setErrorMessage</code>). An error message overrides the current
	 * message until the error message is cleared. This method replaces the
	 * current message and does not affect the error message.
	 * </p>
	 * 
	 * @param newMessage
	 *            the message, or <code>null</code> to clear the message
	 * @param newType
	 *            the message type
	 * @since 2.0
	 */
	public void setMessage(String newMessage, int newType) {
		messageArea.updateText(newMessage, newType);
	}
	/**
	 * Sets the minimum page size.
	 * 
	 * @param minWidth
	 *            the minimum page width
	 * @param minHeight
	 *            the minimum page height
	 * @see #setMinimumPageSize(Point)
	 */