RFR: 8139430
    Alexandre (Shura) Iline 
    alexandre.iline at oracle.com
       
    Thu Nov 19 16:40:17 UTC 2015
    
    
  
Yes, sorry.
Since the methods do not have any work to complete before interrupting and also methods are not used anywhere currently, I assume re-throwing the InterruptedException is a better choice.
http://cr.openjdk.java.net/~shurailine/8139430/webrev.07/test/lib/testlibrary/jdk/testlibrary/management/ThreadMXBeanTool.java.html
Shura
> On Nov 16, 2015, at 8:33 PM, Mandy Chung <mandy.chung at oracle.com> wrote:
> 
> 
>> On Nov 16, 2015, at 5:38 AM, Alan Bateman <alan.bateman at oracle.com> wrote:
>> 
>> 
>> 
>> On 16/11/2015 13:01, Alexandre (Shura) Iline wrote:
>>> V6:
>>> http://cr.openjdk.java.net/~shurailine/8139430/webrev.06/
>>> 
>>> 
>> This looks okay to me. For completeness then I assume the THreadMXBeanTool.waitUntilXXX methods should re-assert the interrupt status if interrupted when waiting.
> 
> +1
> 
> Mandy
> 
    
    
More information about the jigsaw-dev
mailing list