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
import org.eclipse.jdt.core.dom.FieldDeclaration;
import org.eclipse.jdt.core.dom.Javadoc;
import org.eclipse.jdt.core.dom.Modifier;
import org.eclipse.jdt.core.dom.PrimitiveType;
import org.eclipse.jdt.core.dom.TypeDeclaration;
import org.eclipse.jdt.core.dom.VariableDeclarationFragment;
import org.eclipse.jdt.core.dom.rewrite.ASTRewrite;
import org.eclipse.jdt.ui.CodeGeneration;
import org.eclipse.jdt.internal.corext.Assert;
import org.eclipse.jdt.internal.corext.dom.ASTNodeFactory;
import org.eclipse.jdt.internal.ui.JavaPluginImages;
/**
 * Partial implementation of a serial version correction proposal.
 * 
 * @since 3.1
 */
public abstract class AbstractSerialVersionProposal extends LinkedCorrectionProposal {
	
	protected static final String LONG_SUFFIX= "L"; 
	
	protected static final String NAME_FIELD= "serialVersionUID"; 
	
	private static final int PROPOSAL_RELEVANCE= 9;
	
	protected static final long SERIAL_VALUE= 1;
	
	protected static final String DEFAULT_EXPRESSION= SERIAL_VALUE + LONG_SUFFIX; 
	
	private final ASTNode fNode;
	/**