if (patchFiles == null) // none available just use the wrapped content
return wrapped.getEntry(path);
if ("META-INF/MANIFEST.MF".equals(path)) //$NON-NLS-1$
return wrapped.getEntry(path); // don't patch manifest
for (int i = 0; i < patchFiles.length; i++) {
BundleEntry entry = patchFiles[i].getEntry(path);
if (entry != null) { // found patched content; return it
if (PFConfigurator.DEBUG)
System.out.println("Found patch for \"" + path + "\" in \"" + patchFiles[i] + "\""); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$
return entry;
}