felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1620780 - /felix/sandbox/http-rfc189/whiteboard/src/main/java/org/apache/felix/http/whiteboard/internal/tracker/AbstractTracker.java
Date Wed, 27 Aug 2014 06:19:43 GMT
Author: cziegeler
Date: Wed Aug 27 06:19:43 2014
New Revision: 1620780

URL: http://svn.apache.org/r1620780
Log:
FELIX-4545 : Implement Servlet Context Helper. Apply patch from Dominique Pfister

Modified:
    felix/sandbox/http-rfc189/whiteboard/src/main/java/org/apache/felix/http/whiteboard/internal/tracker/AbstractTracker.java

Modified: felix/sandbox/http-rfc189/whiteboard/src/main/java/org/apache/felix/http/whiteboard/internal/tracker/AbstractTracker.java
URL: http://svn.apache.org/viewvc/felix/sandbox/http-rfc189/whiteboard/src/main/java/org/apache/felix/http/whiteboard/internal/tracker/AbstractTracker.java?rev=1620780&r1=1620779&r2=1620780&view=diff
==============================================================================
--- felix/sandbox/http-rfc189/whiteboard/src/main/java/org/apache/felix/http/whiteboard/internal/tracker/AbstractTracker.java
(original)
+++ felix/sandbox/http-rfc189/whiteboard/src/main/java/org/apache/felix/http/whiteboard/internal/tracker/AbstractTracker.java
Wed Aug 27 06:19:43 2014
@@ -52,7 +52,14 @@ public abstract class AbstractTracker<T>
     @SuppressWarnings("unchecked")
     public final void modifiedService(ServiceReference ref, Object service)
     {
-        modified( (T)service, ref);
+        try
+        {
+            modified( (T)service, ref);
+        }
+        catch (Exception e)
+        {
+            SystemLogger.warning("Failed to modify service", e); // XXX log more information!
+        }
     }
 
     @Override



Mime
View raw message