Fixed the compilation failure on jdk1.7 after the upgrade to OSGi 4.3.0 because of the ServiceRegistration type being generified in OSGi 4.3.0. On jdk1.6 there's no such a problem at all!