[ 
https://issues.apache.org/jira/browse/HADOOP-10501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969624#comment-13969624
 ] 

Kihwal Lee commented on HADOOP-10501:
-------------------------------------

It's currently only meant for unit tests.  Do you have any other use case in 
mind? 

> Server#getHandlers() accesses handlers without synchronization
> --------------------------------------------------------------
>
>                 Key: HADOOP-10501
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10501
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> {code}
>   Iterable<? extends Thread> getHandlers() {
>     return Arrays.asList(handlers);
>   }
> {code}
> All the other methods accessing handlers are synchronized methods.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to