| I meant in the failing Aries tests. Specifically I am wondering if somehow both bundles end up in org.hibernate.osgi.OsgiPersistenceProvider#osgiClassLoader. I am not certain the scope of a org.hibernate.osgi.OsgiPersistenceProvider, but if it is created once then it sure seems dodgy to keep instance state related to bundles (org.hibernate.osgi.OsgiClassLoader#bundles) and their ClassLoaders (org.hibernate.osgi.OsgiClassLoader#classLoaders), let alone the caches of the loaded stuff (org.hibernate.osgi.OsgiClassLoader#classCache especially since that #classCache is keyed just by class-name. So I curious if the very design of OsgiPersistenceProvider, OsgiClassLoader, etc cause "bleed through" of Bundles/ClassLoaders. |