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/ui/org/eclipse/jdt/internal/ui/text/correction/AbstractSerialVersionProposal.java
/**
	 * Computes the default expression to initialize the serial version id with.
	 * 
	 * @param monitor
	 *        the progress monitor to use
	 * 
	 * @return the default expression for the serial version id
	 */
	protected abstract Expression computeDefaultExpression(final IProgressMonitor monitor);
	/**
	 * Returns the AST to operate on.
	 * 
	 * @return the AST to operate on
	 */
	protected final AST getAST() {
		return fNode.getAST();
	}
	/**
	 * Returns the declaration node for the originally selected node.
	 * 
	 * @return the declaration node
	 */
	protected final ASTNode getDeclarationNode() {
		ASTNode parent= fNode.getParent();
		if (!(parent instanceof TypeDeclaration)) {
			parent= parent.getParent();
			if (parent instanceof ClassInstanceCreation) {
				final ClassInstanceCreation creation= (ClassInstanceCreation) parent;
				parent= creation.getAnonymousClassDeclaration();
			}