From e2277f087b04183451469da99a2a499379977ccb Mon Sep 17 00:00:00 2001
From: Jan Bartel
Date: Wed, 30 Oct 2024 14:56:14 +1100
Subject: [PATCH] Issue #12430 remove erroneous comment from
PrivilegedThreadFactory (#12440)
---
.../eclipse/jetty/util/thread/PrivilegedThreadFactory.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/thread/PrivilegedThreadFactory.java b/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/thread/PrivilegedThreadFactory.java
index 812fe96f1daa..a0290725f9ba 100644
--- a/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/thread/PrivilegedThreadFactory.java
+++ b/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/thread/PrivilegedThreadFactory.java
@@ -33,10 +33,6 @@
* For this reason, {@code Thread}s must be created in a privileged
* action, which restricts the calling context to just the caller
* frame, not all the frames in the stack.
- * Since Java 18 and the removal of the Java security manager
- * and related classes by JEP 411, {@code Thread}s do not retain
- * the calling context, so there is no need to create them in a
- * privileged action.
*/
class PrivilegedThreadFactory
{