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/SerialVersionHashProposal.java
binding= creation.resolveTypeBinding();
		}
		if (binding != null)
			return binding.getBinaryName();
		return null;
	}
	/**
	 * Adds the class path entries of the specified project to the path entry list.
	 * 
	 * @param project
	 *        the project to add its class path entries
	 * @param projects
	 *        the set of projects whose class path entries have already been added
	 * @param paths
	 *        the path entry list to add the entries to
	 * 
	 * @throws JavaModelException
	 *         if the class path for the project could not be resolved
	 */
	private static void addClassPathEntries(final IJavaProject project, final Set projects, final List paths) throws JavaModelException {
		Assert.isNotNull(project);
		Assert.isNotNull(projects);
		Assert.isNotNull(paths);
		projects.add(project);
		final IClasspathEntry[] entries= project.getResolvedClasspath(true);
		final IWorkspaceRoot root= ResourcesPlugin.getWorkspace().getRoot();
		int kind= 0;
		IClasspathEntry entry= null;
		IPath path= null;
		IProject resource= null;