You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2008/10/19 23:16:56 UTC

svn commit: r706068 - /felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java

Author: rickhall
Date: Sun Oct 19 14:16:56 2008
New Revision: 706068

URL: http://svn.apache.org/viewvc?rev=706068&view=rev
Log:
Some simple changes to framework.

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=706068&r1=706067&r2=706068&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 Sun Oct 19 14:16:56 2008
@@ -1509,7 +1509,7 @@
                 // The spec says we must fire a framework error.
                 fireFrameworkEvent(FrameworkEvent.ERROR, bundle, ex);
                 // Then throw a class not found exception.
-                throw new ClassNotFoundException(name);
+                throw new ClassNotFoundException(name, ex);
             }
         }
         return bundle.getInfo().getCurrentModule().getClass(name);
@@ -3560,6 +3560,15 @@
         m_configMutableMap.put(
             FelixConstants.FRAMEWORK_OS_VERSION,
             System.getProperty("os.version"));
+        m_configMutableMap.put(
+            FelixConstants.SUPPORTS_FRAMEWORK_EXTENSION,
+            "true");
+        m_configMutableMap.put(
+            FelixConstants.SUPPORTS_FRAMEWORK_FRAGMENT,
+            "true");
+        m_configMutableMap.put(
+            FelixConstants.SUPPORTS_FRAMEWORK_REQUIREBUNDLE,
+            "true");
 
         String s = null;
         s = R4LibraryClause.normalizeOSName(System.getProperty("os.name"));