author | ddehaven |
Fri, 19 Aug 2016 10:41:29 -0700 | |
changeset 40448 | 228cfe395a58 |
parent 40447 | 99f45c5df3f2 (current diff) |
parent 40420 | 2e02ba62a678 (diff) |
child 40449 | 5fbe26f13a4e |
--- a/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/SunPKCS11.java Fri Aug 19 08:47:12 2016 -0700 +++ b/jdk/src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/SunPKCS11.java Fri Aug 19 10:41:29 2016 -0700 @@ -818,6 +818,7 @@ } final TokenPoller poller = new TokenPoller(this); Thread t = new Thread(null, poller, "Poller " + getName(), 0, false); + t.setContextClassLoader(null); t.setDaemon(true); t.setPriority(Thread.MIN_PRIORITY); t.start();