From c23544f84267fa5330f8d1dde6322f0177629a75 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Thu, 21 Jan 2021 17:36:05 +0100 Subject: [PATCH] Issue #5859 Changes after review Signed-off-by: Jan Bartel --- .../eclipse/jetty/util/thread/PrivilegedThreadFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/PrivilegedThreadFactory.java b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/PrivilegedThreadFactory.java index ce3dd7e0d58a..e27969b59715 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/PrivilegedThreadFactory.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/PrivilegedThreadFactory.java @@ -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