test/jdk/java/util/concurrent/tck/CyclicBarrierTest.java
changeset 48541 946e34c2dec9
parent 47216 71c04702a3d5
child 53781 940046624bf8
equal deleted inserted replaced
48540:221cf8307606 48541:946e34c2dec9
   333                             c.reset();
   333                             c.reset();
   334 
   334 
   335                         c.await();
   335                         c.await();
   336                         shouldThrow();
   336                         shouldThrow();
   337                     }
   337                     }
   338                     catch (BrokenBarrierException ok) {}
   338                     catch (BrokenBarrierException | InterruptedException ok) {}
   339                     catch (InterruptedException ok) {}
       
   340                 }}});
   339                 }}});
   341 
   340 
   342         for (int i = 0; i < 4; i++) {
   341         for (int i = 0; i < 4; i++) {
   343             delay(timeoutMillis());
   342             delay(timeoutMillis());
   344             t.interrupt();
   343             t.interrupt();