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
IJavaProject reference= null;
		for (int index= 0; index < entries.length; index++) {
			entry= entries[index];
			kind= entry.getEntryKind();
			if (kind == IClasspathEntry.CPE_LIBRARY) {
				final IPath library= entry.getPath();
				final IPath location= ResourcesPlugin.getWorkspace().getRoot().getFile(library).getLocation();
				if (location != null)
					addClassPathEntry(paths, location.toString());
				else
					addClassPathEntry(paths, library.toString());
			} else if (kind == IClasspathEntry.CPE_SOURCE)
				addClassPathEntry(paths, project.getProject().getLocation().makeAbsolute().toString() + project.getOutputLocation().removeFirstSegments(1).makeAbsolute().toString());
			else if (kind == IClasspathEntry.CPE_PROJECT) {
				path= entry.getPath();
				resource= root.getProject(path.toString());
				if (resource != null && resource.exists()) {
					reference= JavaCore.create(resource);
					if (reference != null && !projects.contains(reference))
						addClassPathEntries(reference, projects, paths);
				}
			} else
				Assert.isTrue(false);
		}
	}
	/**
	 * Adds a class path entry described by the indicated path into the path entry list.
	 * 
	 * @param paths
	 *        the path entry list to add the path to