Skip to content

Commit

Permalink
Issue #5859 Changes after review
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Bartel <janb@webtide.com>
  • Loading branch information
janbartel committed Jan 21, 2021
1 parent eed0c2e commit c23544f
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -23,10 +23,10 @@
import java.util.function.Supplier;

/**
* PrivilegedThreadFactory
*
* Convenience class to ensure that a new Thread is created
* inside a privileged block. This prevents the Thread constructor
* inside a privileged block.
*
* This prevents the Thread constructor
* from pinning the caller's context classloader. This happens
* when the Thread constructor takes a snapshot of the current
* calling context - which contains ProtectionDomains that may
Expand Down

0 comments on commit c23544f

Please sign in to comment.