Bug 4077 JDK1.4 - Assertions - text coloring should deal with 'assert' (1GHS3A3)
If the JavaCore option related to source mode is set in 1.4 mode, then 'assert' is a keyword which has to be coloured properly. Assertions are only supported in the 2.0 stream of jdtcore. Configurable options are also subject to improvements. NOTES:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerPreferencePage.java
if (hasChanges) {
			String title= JavaUIMessages.getString("CompilerPreferencePage.needsbuild.title");
			String message= JavaUIMessages.getString("CompilerPreferencePage.needsbuild.message");
			if (MessageDialog.openQuestion(getShell(), title, message)) {
				doFullBuild();
			}
		}
		return super.performOk();
	}
	
	private void doFullBuild() {
		ProgressMonitorDialog dialog= new ProgressMonitorDialog(getShell());
		try {
			dialog.run(true, true, new IRunnableWithProgress() {
				public void run(IProgressMonitor monitor) throws InvocationTargetException {
					try {
						JavaPlugin.getWorkspace().build(IncrementalProjectBuilder.FULL_BUILD, monitor);
					} catch (CoreException e) {
						throw new InvocationTargetException(e);
					}
				}
			});
		} catch (InterruptedException e) {
			
		} catch (InvocationTargetException e) {
			String title= JavaUIMessages.getString("CompilerPreferencePage.builderror.title");
			String message= JavaUIMessages.getString("CompilerPreferencePage.builderror.message");
			ExceptionHandler.handle(e, getShell(), title, message);
		}
	}