--- jsr166/src/test/tck/CyclicBarrierTest.java 2017/05/29 22:44:26 1.29 +++ jsr166/src/test/tck/CyclicBarrierTest.java 2018/01/07 23:11:07 1.30 @@ -308,8 +308,7 @@ public class CyclicBarrierTest extends J c.await(); shouldThrow(); } - catch (BrokenBarrierException ok) {} - catch (InterruptedException ok) {} + catch (BrokenBarrierException | InterruptedException ok) {} }}}); for (int i = 0; i < 4; i++) {