Some simple changes to framework.


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@706068 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/Felix.java b/framework/src/main/java/org/apache/felix/framework/Felix.java
index 641e2d1..528bc9e 100644
--- a/framework/src/main/java/org/apache/felix/framework/Felix.java
+++ b/framework/src/main/java/org/apache/felix/framework/Felix.java
@@ -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"));