Searched refs:close3 (Results 1 – 1 of 1) sorted by relevance
119 Runnable close3 = () -> { holder[2] = true; throw new RuntimeException("3"); }; in testCascadedExceptions() local122 ints.onClose(close1).onClose(close2).onClose(close3); in testCascadedExceptions()134 …ry (Stream<Integer> ints = countTo(100).stream().onClose(close1).onClose(close2).onClose(close3)) { in testCascadedExceptions()146 …> ints = countTo(100).stream().filter(e -> true).onClose(close1).onClose(close2).onClose(close3)) { in testCascadedExceptions()158 …00).stream().filter(e -> true).onClose(close1).onClose(close2).filter(e -> true).onClose(close3)) { in testCascadedExceptions()