fun onUndeploy(ldr: ClassLoader) { for (cls in descByCls.keySet()) { if (ldr == cls.classLoader) descByCls.remove(cls) } javax.swing.text.html.HTML.Tag.U.clearClassCache(ldr)}
Undeployment callback invoked when class loader is being undeployed . Some marshallers may want to clean their internal state that uses the undeployed class loader somehow .