Bug 62095 Compiler pref page should be more resilient
Build 20040513 When patching with latest JDTCore, with adjusted constant value for EmptyStatement optional warning, I saw the following entry in console. 1. it shouldn't be shown by default I suspect, only when in trace mode. 2. when option isn't readable it shouldn't be promoted to ERROR as observed when then looking at pref page. It should rather be turned back to IGNORE. !ENTRY org.eclipse.jdt.ui 4 10001 May 13, 2004 15:37:08.30 !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.superfluousSemicolon (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlo ck) !ENTRY org.eclipse.jdt.ui 4 10001 May 13, 2004 15:37:15.721 !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.superfluousSemicolon (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlo ck)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java
/*******************************************************************************
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.internal.ui.preferences;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Map;
import java.util.StringTokenizer;
import java.util.Map.Entry;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.OperationCanceledException;
import org.eclipse.core.runtime.Status;