Blame SOURCES/osgi_api_fixes.patch

aa165c
--- a/killvm/common/src/main/java/com/redhat/thermostat/killvm/common/internal/Activator.java	2014-12-19 02:10:45.423793301 -0700
aa165c
+++ b/killvm/common/src/main/java/com/redhat/thermostat/killvm/common/internal/Activator.java.patched	2014-12-19 02:11:17.294777488 -0700
aa165c
@@ -51,14 +51,14 @@
aa165c
 
aa165c
     @Override
aa165c
     public void start(final BundleContext context) throws Exception {
aa165c
-        tracker = new ServiceTracker(context, RequestQueue.class, null) {
aa165c
+        tracker = new ServiceTracker(context, RequestQueue.class.getName(), null) {
aa165c
             @Override
aa165c
             public Object addingService(ServiceReference reference) {
aa165c
 
aa165c
                 RequestQueue requestqueue = (RequestQueue) context.getService(reference);
aa165c
 
aa165c
                 KillVMRequest gcRequest = new KillVMRequest(requestqueue);
aa165c
-                context.registerService(KillVMRequest.class, gcRequest, null);
aa165c
+                context.registerService(KillVMRequest.class.getName(), gcRequest, null);
aa165c
                 return super.addingService(reference);
aa165c
             }
aa165c