You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pa...@apache.org on 2008/03/05 14:10:39 UTC
svn commit: r633840 -
/felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java
Author: pauls
Date: Wed Mar 5 05:10:37 2008
New Revision: 633840
URL: http://svn.apache.org/viewvc?rev=633840&view=rev
Log:
Make the framework check for valid bundles on install as per spec.
Modified:
felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java
Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java?rev=633840&r1=633839&r2=633840&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java (original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java Wed Mar 5 05:10:37 2008
@@ -726,7 +726,14 @@
m_systemBundleInfo.getCurrentModule(),
cl);
- addSecurity(this);
+ try
+ {
+ addSecurity(this);
+ }
+ catch (Exception e)
+ {
+ // This should not happen
+ }
// Note: we need this ordering to launch:
// 1) create all stuff of the system bundle (extension manager needs it)