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/SerialVersionLaunchConfigurationDelegate.java
} catch (IOException exception) {
						JavaPlugin.log(exception);
						fErrorMessage= exception.getLocalizedMessage();
					}
					buffer= new StringBuffer();
					reader= new BufferedReader(new InputStreamReader(process.getErrorStream()));
					try {
						int result= 0;
						while (reader.ready()) {
							result= reader.read();
							if (result >= 0)
								buffer.append((char) result);
						}
						String string= buffer.toString();
						int start= string.indexOf(ERROR_PREFIX);
						if (start >= 0) {
							int end= string.indexOf(ERROR_POSTFIX, start);
							if (end >= 0)
								fErrorMessage= string.substring(start + ERROR_PREFIX.length(), end);
						}
					} catch (IOException exception) {
						JavaPlugin.log(exception);
						fErrorMessage= exception.getLocalizedMessage();
					}
					if (monitor.isCanceled())
						process.destroy();
				}
			} finally {
				subMonitor.done();
			}