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