Bug 27636 Organize Import ordering differs for different VMs
Build 20021203 OrganizeImportTest.testBaseGroups1 failed because the import ordering was different. If fixed the test by looking at the VM version and then do different asserts. However this is just a workaround to make the tests run again. The import order must not depend on the VM version. Please remove the VM version check in the test when this PR is fixed.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/AddImportTest.java
for (int i= 0; i < openChoices.length; i++) {
					TypeInfo[] selection= openChoices[i];
					assertNotNull(name + "-query-setset" + i, selection);
					assertTrue(name + "-query-setlen" + i, selection.length > 0);
					TypeInfo found= null;
					for (int k= 0; k < selection.length; k++) {
						if (selection[k].getFullyQualifiedName().equals(choices[i])) {
							found= selection[k];
						}
					}
					assertNotNull(name + "-query-notfound" + i, found);
					res[i]= found;
				}
				return res;
			}
		};
	}
	
	private void assertImports(ICompilationUnit cu, String[] imports) throws Exception {
		IImportDeclaration[] desc= cu.getImports();
		assertTrue(cu.getElementName() + "-count", desc.length == imports.length);
		for (int i= 0; i < imports.length; i++) {
			assertEquals(cu.getElementName() + "-cmpentries" + i, desc[i].getElementName(), imports[i]);
		}
	}
	
	private static final int printRange= 6;
	
	public static void assertEqualString(String str1, String str2) {
		int len1= Math.min(str1.length(), str2.length());