mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
8347842: ThreadPoolExecutor specification discusses RuntimePermission
Reviewed-by: alanb, jpai
This commit is contained in:
parent
3fbae32d0a
commit
5ec1aae21e
1 changed files with 1 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue