You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by bo...@apache.org on 2015/08/25 05:57:47 UTC

svn commit: r1697537 - /felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java

Author: bob
Date: Tue Aug 25 03:57:47 2015
New Revision: 1697537

URL: http://svn.apache.org/r1697537
Log:
FELIX-5010 - Bundle-NativeCode: * should function the same as the absence of a Bundle-NativeCode entry.

Modified:
    felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java

Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java?rev=1697537&r1=1697536&r2=1697537&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java (original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/ManifestParser.java Tue Aug 25 03:57:47 2015
@@ -613,7 +613,7 @@ public class ManifestParser
         
         List<SimpleFilter> nativeFilterClauseList = new ArrayList<SimpleFilter>();
         
-        if(nativeLibraryClauses != null)
+        if(nativeLibraryClauses != null && !nativeLibraryClauses.isEmpty())
         {
             for(NativeLibraryClause clause: nativeLibraryClauses)
             {