felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r331740 - /incubator/felix/trunk/framework/src/org/apache/felix/framework/searchpolicy/R4SearchPolicy.java
Date Tue, 08 Nov 2005 08:51:39 GMT
Author: rickhall
Date: Tue Nov  8 00:51:35 2005
New Revision: 331740

URL: http://svn.apache.org/viewcvs?rev=331740&view=rev
Log:
Moved security manager inner class to its own class file in the util package.

Modified:
    incubator/felix/trunk/framework/src/org/apache/felix/framework/searchpolicy/R4SearchPolicy.java

Modified: incubator/felix/trunk/framework/src/org/apache/felix/framework/searchpolicy/R4SearchPolicy.java
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/framework/src/org/apache/felix/framework/searchpolicy/R4SearchPolicy.java?rev=331740&r1=331739&r2=331740&view=diff
==============================================================================
--- incubator/felix/trunk/framework/src/org/apache/felix/framework/searchpolicy/R4SearchPolicy.java
(original)
+++ incubator/felix/trunk/framework/src/org/apache/felix/framework/searchpolicy/R4SearchPolicy.java
Tue Nov  8 00:51:35 2005
@@ -20,6 +20,7 @@
 import java.util.*;
 
 import org.apache.felix.framework.LogWrapper;
+import org.apache.felix.framework.util.SecurityManagerEx;
 import org.apache.felix.moduleloader.*;
 import org.apache.felix.moduleloader.search.ResolveException;
 import org.apache.felix.moduleloader.search.ResolveListener;
@@ -52,7 +53,7 @@
     public static final R4Wire[] m_emptyWires = new R4Wire[0];
 
     // Re-usable security manager for accessing class context.
-    private static SecurityManagerX m_sm = new SecurityManagerX();
+    private static SecurityManagerEx m_sm = new SecurityManagerEx();
 
     public R4SearchPolicy(LogWrapper logger)
     {
@@ -1624,15 +1625,6 @@
             {
                 m_visited = true;
             }
-        }
-    }
-
-    // Utility class to get the class context from the security manager.
-    private static class SecurityManagerX extends SecurityManager
-    {
-        public Class[] getClassContext()
-        {
-            return super.getClassContext();
         }
     }
 }



Mime
View raw message