[
https://issues.apache.org/jira/browse/SLING-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436594#comment-13436594
]
Carsten Ziegeler commented on SLING-2563:
-----------------------------------------
Actually we added ThreadPool#create(config, label) for this - but right, if
this is not called or called without a value, it's hard to troubleshoot.
Can we add a length check to the array access, just to be sure?
> when a thread pool is created without a label, the label should be generated
> using the class name requesting the thread pool
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: SLING-2563
> URL: https://issues.apache.org/jira/browse/SLING-2563
> Project: Sling
> Issue Type: Improvement
> Components: Commons
> Reporter: Justin Edelson
> Attachments: SLING-2563.patch
>
>
> "anonymous" thread pools are hard to troubleshoot, so we shouldn't allow them
> :)
> If a class com.myco.FooImpl calls ThreadPoolManager.create(config) then the
> resulting thread pool's name should contain com.myco.FooImpl
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira