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
ArrayList proposals2= collectCorrections(unit2, root2);
		assertNumberOf("proposals2", proposals2.size(), 2); 
		assertCorrectLabels(proposals2);
		Object current= null;
		for (int index= 0; index < proposals2.size(); index++) {
			current= proposals2.get(index);
			if (current instanceof SerialVersionHashProposal) {
				SerialVersionHashProposal proposal= (SerialVersionHashProposal) current;
				String preview= getPreviewContent(proposal);
				buffer= new StringBuffer();
				buffer.append("package test2;\n"); 
				buffer.append("import java.io.Serializable;\n"); 
				buffer.append("public class Test2 {\n"); 
				buffer.append("    protected int var1;\n"); 
				buffer.append("    protected int var2;\n"); 
				buffer.append("    protected class Test1 implements Serializable {\n"); 
				buffer.append("        " + FIELD_COMMENT + "\n");
				buffer.append("        private static final long serialVersionUID = -4023230086280104302L;\n"); 
				buffer.append("        public long var3;\n"); 
				buffer.append("    }\n"); 
				buffer.append("}\n"); 
				assertEqualString(preview, buffer.toString());
			} else if (current instanceof SerialVersionDefaultProposal) {
				SerialVersionDefaultProposal proposal= (SerialVersionDefaultProposal) current;
				String preview= getPreviewContent(proposal);
				buffer= new StringBuffer();
				buffer.append("package test2;\n"); 
				buffer.append("import java.io.Serializable;\n"); 
				buffer.append("public class Test2 {\n"); 
				buffer.append("    protected int var1;\n");