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
final String name= computeTypeName();
		try {
			final ICompilationUnit unit= getCompilationUnit();
			final IJavaProject project= unit.getJavaProject();
			project.getProject().build(IncrementalProjectBuilder.INCREMENTAL_BUILD, monitor);
			monitor.beginTask(CorrectionMessages.getString("SerialVersionHashProposal.progress.title"), 8); 
			monitor.worked(1);
			addClassPathEntries(project, new HashSet(), list);
			monitor.worked(1);
			if (monitor.isCanceled())
				return null;
			final URL[] urls= new URL[list.size()];
			String path= null;
			for (int index= 0; index < list.size(); index++) {
				path= (String) list.get(index);
				if (!path.endsWith(EXTENSION_JAR))
					path+= IPath.SEPARATOR;
				urls[index]= new URL(PROTOCOL_FILE + path);
			}
			monitor.worked(1);
			if (monitor.isCanceled())
				return null;
			final SerialVersionClassLoader loader= new SerialVersionClassLoader(urls);
			monitor.worked(1);
			if (monitor.isCanceled())
				return null;
			final Class clazz= loader.findClass(name);
			monitor.worked(1);
			if (monitor.isCanceled())
				return null;