Accept "*" for dynamic imports. (FELIX-1400)


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@796917 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java b/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java
index 1794db5..b3fcb18 100644
--- a/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java
+++ b/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java
@@ -229,7 +229,7 @@
                 throw new BundleException(
                     "Dynamically importing java.* packages not allowed: " + pkgName);
             }
-            else if (pkgName.endsWith("*") && !pkgName.endsWith(".*"))
+            else if (!pkgName.equals("*") && pkgName.endsWith("*") && !pkgName.endsWith(".*"))
             {
                 throw new BundleException(
                     "Partial package name wild carding is not allowed: " + pkgName);