Bug 107826 Serial version quick fix improvements [quick fix]
- Do not put everything on the user class path - Use only the standard output for result and error messages - Remove waitFor() - Read from stream until -1
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionHashProposal.java
entry= classpath[index];
				mementos.add(entry.getMemento());
			}
			copy.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH, mementos);
			configuration= copy.doSave();
			monitor.worked(1);
			final ILaunchConfigurationDelegate delegate= configuration.getType().getDelegate(ILaunchManager.RUN_MODE);
			if (delegate instanceof SerialVersionLaunchConfigurationDelegate) {
				final SerialVersionLaunchConfigurationDelegate extension= (SerialVersionLaunchConfigurationDelegate) delegate;
				configuration.launch(ILaunchManager.RUN_MODE, new SubProgressMonitor(monitor, 1), true, false);
				monitor.worked(1);
				serialVersionID= extension.getSerialVersionID();
				final String message= extension.getErrorMessage();
				if (message != null && message.length() > 0)
					displayErrorMessage(message);
			} else
				displayErrorMessage(CorrectionMessages.SerialVersionHashProposal_wrong_launch_delegate);
		} catch (CoreException exception) {
			displayErrorMessage(exception);
		} catch (IOException exception) {
			displayErrorMessage(exception);
		} finally {
			try {
				if (configuration != null)
					configuration.delete();
			} catch (CoreException exception) {
				JavaPlugin.log(exception);
			}
			monitor.done();
		}