FELIX-907: patch local copy of Bnd code to fix regression

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@738817 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/aQute/lib/osgi/Builder.java b/bundleplugin/src/main/java/aQute/lib/osgi/Builder.java
index 7c631ae..84c35e6 100644
--- a/bundleplugin/src/main/java/aQute/lib/osgi/Builder.java
+++ b/bundleplugin/src/main/java/aQute/lib/osgi/Builder.java
@@ -425,12 +425,12 @@
 
         Map<Instruction, Map<String, String>> all = newMap();
 
-        all.putAll(replaceWitInstruction(getHeader(EXPORT_PACKAGE),
-                EXPORT_PACKAGE));
-
         all.putAll(replaceWitInstruction(getHeader(PRIVATE_PACKAGE),
                 PRIVATE_PACKAGE));
 
+        all.putAll(replaceWitInstruction(getHeader(EXPORT_PACKAGE),
+                EXPORT_PACKAGE));
+
         if (isTrue(getProperty(Constants.UNDERTEST))) {
             all.putAll(replaceWitInstruction(parseHeader(getProperty(
                     Constants.TESTPACKAGES, "test;presence:=optional")),