RFR  8156824: com.sun.jndi.ldap.pool.PoolCleaner should clear its context class loader
chris.hegarty at oracle.com
Thu Jul 28 13:22:24 UTC 2016
Another issue where an internal platform thread is unnecessarily
retaining a reference to its creating thread’s context class loader.
In this case, it appears to be safe to use an InnocuousThread,
which will have a null context class loader.
It’s not clear to me why the construction was not always in a
privileged block, maybe “modifyThread” was assumed. We now
definitely need a privileged block as the context class loader is
More information about the core-libs-dev