Bug 24799 Java structure compare fails too many times
Using 1009, when I synchronize with the cvs server and I compare my outgoing changes with the repository contents, I get too many times "Java Structure Compare (Can't Compare Structures)". This didn't happen in the past. I don't know what changed, but this is frustrating and make the whole synchronization process very difficult to use. It is not always the same files which are failing. I didn't get anything in a .log file.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
}
			}
		}
		return null;
	}
	/**
	 * Returns true if the given IJavaElement maps to a JavaNode.
	 * The JavaHistoryAction uses this function to determine whether
	 * a selected Java element can be replaced by some piece of
	 * code from the local history.
	 */
	static boolean hasEdition(IJavaElement je) {
		if (je instanceof IMember && ((IMember)je).isBinary())
			return false;
			
		switch (je.getElementType()) {
		case JavaElement.COMPILATION_UNIT:
		case JavaElement.TYPE:
		case JavaElement.FIELD:
		case JavaElement.METHOD:
		case JavaElement.INITIALIZER:
		case JavaElement.PACKAGE_DECLARATION:
		case JavaElement.IMPORT_CONTAINER:
		case JavaElement.IMPORT_DECLARATION:
			return true;
		}
		return false;
	}
}