in src/main/java/org/apache/sling/commons/threads/impl/ThreadLocalCleaner.java [70:77]
static void validate() {
LOG.info("Validating reflective access is permitted... ");
Reference<?>[] threadLocals = copy(threadLocalsField);
if ( threadLocals == null )
LOG.info("Accessed thread locals of current thread, found none");
else
LOG.info("Accessed thread locals of current thread, found {}", threadLocals.length);
}