--- jsr166/src/test/loops/SingleProducerMultipleConsumerLoops.java 2016/12/31 19:40:49 1.11 +++ jsr166/src/test/loops/SingleProducerMultipleConsumerLoops.java 2016/12/31 21:34:47 1.12 @@ -216,8 +216,8 @@ public class SingleProducerMultipleConsu static final class LTQasSQ extends LinkedTransferQueue { LTQasSQ() { super(); } public void put(T x) { - try { super.transfer(x); - } catch (InterruptedException ex) { throw new Error(); } + try { super.transfer(x); } + catch (InterruptedException ex) { throw new Error(ex); } } } @@ -228,10 +228,8 @@ public class SingleProducerMultipleConsu if ((++calls & 1) == 0) super.put(x); else { - try { super.transfer(x); - } catch (InterruptedException ex) { - throw new Error(); - } + try { super.transfer(x); } + catch (InterruptedException ex) { throw new Error(ex); } } } }