commit | 6e4b8bd3e6e6f37d90a851a241b9d77baad2ebc4 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Tue Feb 24 14:48:14 2009 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Tue Feb 24 14:48:14 2009 +0000 |
tree | 811668d101e274b04b9e04387fc0d9565e4b7c86 | |
parent | 997c48729ad9c41b08d89bfa6c118f25bf7870aa [diff] |
System bundle should throw CNFE when it doesn't have the class. (FELIX-953) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@747398 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/ExtensionManager.java b/framework/src/main/java/org/apache/felix/framework/ExtensionManager.java index 934fd30..d00884c 100644 --- a/framework/src/main/java/org/apache/felix/framework/ExtensionManager.java +++ b/framework/src/main/java/org/apache/felix/framework/ExtensionManager.java
@@ -646,7 +646,7 @@ { if (!m_exportNames.contains(Util.getClassPackage(name))) { - return null; + throw new ClassNotFoundException(name); } return getClass().getClassLoader().loadClass(name);