Community
Participate
Working Groups
EMF Compare makes use of org.osgi.framework.Version.compareTo(Version) in order to check for the API it can use. Calls to this method will fail in java.lang.NoSuchMethodError: org.osgi.framework.Version.compareTo(Lorg/osgi/framework/Version;)I for Helios and prior versions since "compareTo" changed signature from "compareTo(Object)" (Helios, OSGi framework 1.5) to "compareTo(Version)" (Indigo, OSGi framework version 1.6). We should be using our own comparison routine for the bundle versions in order to avoid this issue.
Best way to tackle this would be to copy/paster Version.compareTo() in our own code, and call that directly.
Fixed in cf6560ec0244e93e36c968e5f149f82902c97c62 for 2.1 branch Fixed in e7d42794195d6c67101a026d624a32616df554ed for master branch