Community
Participate
Working Groups
The org.eclipse.osgi bundle from the rt.equinox.framework repository contains unnecessary imports and its project settings are configured that this should result in an error. But if you open the file, no error marker is created. If you delete the unnecessary line 22 (import java.util.AbstractSet;) no error is created. Tycho is also able to detect this error, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=506435#c5
JDT is correct. On some of the source folders in 'org.eclipse.osgi', the option to ignore optional compile problems has been enabled (see bug 463706, bug 463710 and bug 464172). It looks like Tycho is not using that build path setting. Filed bug 506781 for that.
Thanks Dani for the clarification. Looks like neither Tycho nor I did know that we have this "ignore_optional_problems" for source folders flag.