Skip to content

Commit 5ec1aae

Browse files
author
Viktor Klang
committed
8347842: ThreadPoolExecutor specification discusses RuntimePermission
Reviewed-by: alanb, jpai
1 parent 3fbae32 commit 5ec1aae

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/java.base/share/classes/java/util/concurrent/ThreadPoolExecutor.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,7 @@
113113
* alter the thread's name, thread group, priority, daemon status,
114114
* etc. If a {@code ThreadFactory} fails to create a thread when asked
115115
* by returning null from {@code newThread}, the executor will
116-
* continue, but might not be able to execute any tasks. Threads
117-
* should possess the "modifyThread" {@code RuntimePermission}. If
118-
* worker threads or other threads using the pool do not possess this
119-
* permission, service may be degraded: configuration changes may not
120-
* take effect in a timely manner, and a shutdown pool may remain in a
121-
* state in which termination is possible but not completed.</dd>
116+
* continue, but might not be able to execute any tasks.</dd>
122117
*
123118
* <dt>Keep-alive times</dt>
124119
*

0 commit comments

Comments
 (0)