load Directory
fun loadDirectory(dir: Path, parent: ClassLoader = defaultParent(), cache: BundleDescriptorCache = BundleDescriptorCache()): List<LoadedBundle>(source)
Loads bundles from every .jar file directly inside dir (non-recursive). Empty list if the directory is missing or contains no JARs. JARs whose loadJar throws are skipped with a warning so one bad bundle never breaks startup discovery.