synchronized void allowDuplicateBundles(Collection<Bundle> bundles) {
        allowedDuplicates.clear();
        for (var bundle : bundles) {
            allowedDuplicates.put(bundle, new BsnVersion(bundle));
        }
    }
Sets a collection of bundles to allow duplicates for.
jdisc_core/src/main/java/com/yahoo/jdisc/core/BundleCollisionHook.java