commit | 88e0ae62e5ed1d0b21743b2d780c9cd4ce2d5fd2 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Thu Feb 09 13:22:21 2006 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Thu Feb 09 13:22:21 2006 +0000 |
tree | 723d5ea92bf6502054b7d08604132452bd468bf9 | |
parent | d7eb04a1120afed0ce0772333ab6c2091ff4bc84 [diff] |
Fixed small bug in the getExportedPackages(). git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@376285 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java b/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java index 6e2c35d..f1c0837 100644 --- a/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java +++ b/org.apache.felix.framework/src/main/java/org/apache/felix/framework/Felix.java
@@ -2558,7 +2558,7 @@ IModule[] exporters = m_policyCore.getInUseExporters(new R4Import(name, null, null)); if (exporters != null) { - pkgs = new ExportedPackage[pkgs.length]; + pkgs = new ExportedPackage[exporters.length]; for (int pkgIdx = 0; pkgIdx < pkgs.length; pkgIdx++) { // Get the bundle associated with the current exporting module.