int options = 0;
if (recurse) {
options = BundleWiring.LISTRESOURCES_RECURSE;
}
for (BundleWiring bundleWiring : _bundleWirings) {
<BUG>list(packagePath, options, bundleWiring, javaFileObjects);
}</BUG>
if (javaFileObjects.isEmpty()) {
<BUG>list(packagePath, options, _bundleWiring, javaFileObjects);
}</BUG>
return javaFileObjects;

int options = 0;
if (recurse) {
options = BundleWiring.LISTRESOURCES_RECURSE;
}
for (BundleWiring bundleWiring : _bundleWirings) {
javaFileObjects.addAll(
_classResolver.resolveClasses(
bundleWiring, packagePath, options));
}
if (javaFileObjects.isEmpty()) {
javaFileObjects.addAll(
_classResolver.resolveClasses(
_bundleWiring, packagePath, options));
}
