Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
framework-3.0.8
-
None
Description
Bundle.getEntryPaths("/") and Bundle.findEntries("/", "*", true) return META-INF/ twice. There is no fragment attached, so there is no reason for findEntries to return twice.
My code looks like this:
void printEntryPaths(Bundle b, String s) {
Enumeration e = b.getEntryPaths(s);
if (e!=null) {
while (e.hasMoreElements())
}
}
void printEntryPaths2(Bundle b, String s) {
Enumeration e = b.findEntries(s, "*", true);
if (e != null) {
while (e.hasMoreElements())
}
}
This seems to be a regression.