Class SecurityProviderLeakPreventer

  • All Implemented Interfaces:
    LifeCycle

    @Deprecated
    public class SecurityProviderLeakPreventer
    extends AbstractLeakPreventer
    Deprecated.
    sun.security.pkcs11.SunPKCS11 class explicitly sets thread classloader to null
    SecurityProviderLeakPreventer Some security providers, such as sun.security.pkcs11.SunPKCS11 start a deamon thread, which will use the thread context classloader. Load them here to ensure the classloader is not a webapp classloader. Inspired by Tomcat JreMemoryLeakPrevention