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
* @param path
	 *        the path of the class path entry
	 */
	private static void addClassPathEntry(final List paths, final String path) {
		Assert.isNotNull(paths);
		Assert.isNotNull(path);
		if (!paths.contains(path))
			paths.add(path);
	}
	/**
	 * Displays an appropriate error message if the class could not be loaded.
	 * 
	 * @param throwable
	 *        the throwable object to display
	 */
	private static void displayErrorMessage(final Throwable throwable) {
		final Display display= PlatformUI.getWorkbench().getDisplay();
		if (display != null && !display.isDisposed()) {
			display.asyncExec(new Runnable() {
				public final void run() {
					if (display != null && !display.isDisposed()) {
						final Shell shell= display.getActiveShell();
						if (shell != null && !shell.isDisposed())
							MessageDialog.openError(shell, CorrectionMessages.getString("SerialVersionHashProposal.dialog.error.caption"), CorrectionMessages.getFormattedString("SerialVersionHashProposal.dialog.error.message", throwable.getLocalizedMessage())); 
					}
				}
			});
		}
	}	
}