Description
the artifact org.osgi.compendium 1.2.0 includes another artifact "org.osgi.foundation" as dependency, which contains several classes included in current JDK release, but as non-generic versions.
this prevents compiling most sling projects in trunk in eclipse.
the "org.osgi.foundation" transitive dependency should be excluded in parent pom to prevent this - sling is compiling happily without it.
patch attached.