The MapBackedClassValue.dispose() does not remove the Classes from the ClassValue. This leads to a classloader leak in java.lang.ClassValue.ClassValueMap.cacheArray, with the ClassValue.Entry holding references to org.hibernate.jpa.event.spi.Callback. |