Bug 423721 SWT workspace is full of SWT tools errors
1.Pull the latest SWT source code. 2.Enable SWT Tools > report 32/64 bit problems. 3.Rebuild the project. Project is filled with errors: [32/64] Syntax error, annotations are only available if source level is 1.5 or greater The problem is in the SWT tools. There are more than 900 errors now in the workspace and its easy to miss any valid 32/64 bit errors because of this. We need to fix the tools before making any Java 1.5 language changes to the SWT source code.
bundles/org.eclipse.swt.tools/src/org/eclipse/swt/tools/builders/Check64CompilationParticipant.java
public void buildFinished(IJavaProject project) {
	try {
		if (sources == null) return;
		if (!getEnabled() || !is64bit(project)) return;
		String root = project.getProject().getLocation().toPortableString() + buildDir;
		build(project, root);		
		createProblems(project, root);
		createBadOverwrittenMethodProblems(project, root);
		sources = null;
	} catch (Exception e) {
		e.printStackTrace();
	}
}
	
@Override
public void buildStarting(BuildContext[] files, boolean isBatch) {
	if (sources == null) sources = new HashSet<String>();
	for (int i = 0; i < files.length; i++) {
		BuildContext context = files[i];
		IFile file = context.getFile();
		IProject project = file.getProject();
		Path path = new Path(buildDir + file.getProjectRelativePath().toPortableString());
		IFile newFile = project.getFile(path);
		sources.add(newFile.getLocation().toPortableString());
		try {
			if (newFile.exists()) {
				newFile.delete(true, null);
			}
			create(newFile.getParent());
			char[] source = context.getContents();