Bug 74022 Unsupported major.minor version 49.0 during quick fix.
I use Sun JDK 1.4.2 to run Eclipse 3.1 200409140800 and Sun JDK 1.5.0 RC to run my application. Eclipse is configured to compile for JDK 1.5. I get error message "Unsupported major.minor version 49.0" when I try to use "Add generated serial version ID" quickfix for the following class ------------ package test.cheetah; public class Test implements java.io.Serializable { } ------------
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/SerialVersionQuickFixTest.java
*/
	public static Test allTests() {
		return new ProjectTestSetup(new TestSuite(THIS));
	}
	/*
	 * @see org.eclipse.jdt.ui.tests.quickfix.QuickFixTest#suite()
	 */
	public static Test suite() {
		return allTests();
	}
	private IJavaProject fProject;
	private IPackageFragmentRoot fSourceFolder;
	/**
	 * @param name
	 */
	public SerialVersionQuickFixTest(String name) {
		super(name);
	}
	protected void setUp() throws Exception {
		Hashtable options= TestOptions.getFormatterOptions();
		options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR, JavaCore.SPACE);
		options.put(DefaultCodeFormatterConstants.FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE, "1"); 
		options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_SIZE, "4"); 
		options.put(JavaCore.COMPILER_PB_UNUSED_IMPORT, JavaCore.IGNORE);
		JavaCore.setOptions(options);
		IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore();
		store.setValue(PreferenceConstants.CODEGEN_ADD_COMMENTS, false);
		fProject= JavaProjectHelper.createJavaProject("serialIdProject", "bin");
		JavaProjectHelper.addRTJar(fProject);
		JavaPlugin.getDefault().getCodeTemplateStore().findTemplate(CodeTemplateContextType.NEWTYPE).setPattern("");