mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-28 15:51:02 +00:00
8347842: ThreadPoolExecutor specification discusses RuntimePermission
Reviewed-by: alanb, jpai
This commit is contained in:
parent
3fbae32d0a
commit
5ec1aae21e
@ -113,12 +113,7 @@ import jdk.internal.vm.SharedThreadContainer;
|
||||
* alter the thread's name, thread group, priority, daemon status,
|
||||
* etc. If a {@code ThreadFactory} fails to create a thread when asked
|
||||
* by returning null from {@code newThread}, the executor will
|
||||
* continue, but might not be able to execute any tasks. Threads
|
||||
* should possess the "modifyThread" {@code RuntimePermission}. If
|
||||
* worker threads or other threads using the pool do not possess this
|
||||
* permission, service may be degraded: configuration changes may not
|
||||
* take effect in a timely manner, and a shutdown pool may remain in a
|
||||
* state in which termination is possible but not completed.</dd>
|
||||
* continue, but might not be able to execute any tasks.</dd>
|
||||
*
|
||||
* <dt>Keep-alive times</dt>
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user