felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r706068 - /felix/trunk/framework/src/main/java/org/apache/felix/framework/Felix.java
Date Sun, 19 Oct 2008 21:16:56 GMT
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"));



Mime
View raw message