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.tests/ui/org/eclipse/jdt/ui/tests/quickfix/SerialVersionQuickFixTest.java
buffer.append("}\n"); 
		ICompilationUnit unit3= package3.createCompilationUnit("Test3.java", buffer.toString(), false, null); 
		fProject.getProject().build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
		CompilationUnit root3= getASTRoot(unit3);
		ArrayList proposals= collectCorrections(unit3, root3);
		assertCorrectLabels(proposals);
		String[] expected= new String[2];
		
		buffer= new StringBuffer();
		buffer.append("package test3;\n"); 
		buffer.append("import java.io.Serializable;\n"); 
		buffer.append("public class Test3 {\n"); 
		buffer.append("    protected int var1;\n"); 
		buffer.append("    protected int var2;\n"); 
		buffer.append("    public void test() {\n"); 
		buffer.append("        Serializable var3= new Serializable() {\n"); 
		buffer.append("            " + FIELD_COMMENT + "\n");
		buffer.append("            private static final long serialVersionUID = 1L;\n"); 
		buffer.append("            int var4;\n"); 
		buffer.append("        };\n"); 
		buffer.append("    }\n"); 
		buffer.append("}\n"); 
		expected[0]= buffer.toString();
		
		buffer= new StringBuffer();
		buffer.append("package test3;\n"); 
		buffer.append("import java.io.Serializable;\n"); 
		buffer.append("public class Test3 {\n"); 
		buffer.append("    protected int var1;\n"); 
		buffer.append("    protected int var2;\n");