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.ch...@oracle.com> wrote: > > >> On Nov 16, 2015, at 5:38 AM, Alan Bateman <alan.bate...@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 >