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
SerialVersionHashProposal proposal= (SerialVersionHashProposal) current;
				String preview= getPreviewContent(proposal);
				buffer= new StringBuffer();
				buffer.append("package test1;\n"); 
				buffer.append("import java.io.Serializable;\n"); 
				buffer.append("public class Test1 implements Serializable {\n"); 
				buffer.append("    " + FIELD_COMMENT + "\n");
				buffer.append("    private static final long serialVersionUID = -2242798150684569765L;\n"); 
				buffer.append("    protected int var1;\n"); 
				buffer.append("    protected int var2;\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 test1;\n"); 
				buffer.append("import java.io.Serializable;\n"); 
				buffer.append("public class Test1 implements Serializable {\n"); 
				buffer.append("    " + FIELD_COMMENT + "\n");
				buffer.append("    private static final long serialVersionUID = 1L;\n"); 
				buffer.append("    protected int var1;\n"); 
				buffer.append("    protected int var2;\n"); 
				buffer.append("}\n"); 
				assertEqualString(preview, buffer.toString());
			}
		}
	}
}