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/SerialVersionSubProcessor.java
* @param context
	 *        the invocation context
	 * @param location
	 *        the problem location
	 * @param proposals
	 *        the proposal collection to extend
	 */
	public static final void getSerialVersionProposals(final IInvocationContext context, final IProblemLocation location, final Collection proposals) {
		Assert.isNotNull(context);
		Assert.isNotNull(location);
		Assert.isNotNull(proposals);
		final CompilationUnit root= context.getASTRoot();
		final ASTNode selection= location.getCoveredNode(root);
		if (selection != null) {
			Name name= null;
			if (selection instanceof SimpleType) {
				final SimpleType type= (SimpleType) selection;
				name= type.getName();
			} else if (selection instanceof Name) {
				name= (Name) selection;
			}
			final SimpleName simple= name.isSimpleName() ? (SimpleName) name : ((QualifiedName) name).getName();
			final ICompilationUnit unit= context.getCompilationUnit();
			if (JavaModelUtil.isEditable(unit)) {
				proposals.add(new SerialVersionDefaultProposal(unit, simple));
				proposals.add(new SerialVersionHashProposal(unit, simple));
			}
		}
	}
}